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

Famous quotes containing the word analysis:

    A commodity appears at first sight an extremely obvious, trivial thing. But its analysis brings out that it is a very strange thing, abounding in metaphysical subtleties and theological niceties.
    Karl Marx (1818–1883)