This document discusses the specification and recognition of tokens in compiling. It begins by defining tokens and regular expressions, which are used to formally specify tokens. Regular expressions define patterns for strings. The document then explains how to recognize tokens by defining patterns for language elements using regular expressions. Finally, it provides examples of transition diagrams that can be used to recognize tokens like relational operators, identifiers, numbers, and whitespace.