The first stage of processing a source file is the division of the source file into lexical elements.
A lexical element is one of the following:
The sequence of lexical elements is formed by repeatedly removing the longest initial sequence of characters that forms a valid lexical element.