Compiler Construction - Lexical Analysis

Lexical Analysis

The first phase of constructing a compiler is lexical analysis of the source program. This phase involves reading the source programs and grouping the characters into lexemes. A token of the form is produced for each lexeme. Lexical analysis can also be termed as scanning.

Read more about this topic:  Compiler Construction