LEXICAL ANALYSIS



Rating - 3/5
547 views

Lexical analysis In this phase, the source program is scanned for lexical units (known as tokens) namely, identifier, operator delimiter, etc. and classify them according to their types. A table, called symbol table, is constructed to record the type and attributes information of each user-defined name used in the program. This table is accessed in the other phases of compilation.


Rating - 3/5
541 views

Advertisements