![]() |
Lexical analyzer? |
[Edit] |
[Edit]
A compiler is usually divided into different phases. The input to the compiler is the source program and the output is a target program.
Lexical analyzer is the first phase of a compiler which gets source program as input. It scans the source program from left to right and produces tokens as output. A token can be seen as a sequence of characters having a collective meaning.
Lexical analyzer also called by names like scanner, linear analyzer etc.
First answer by ID3537167438. Last edit by ID3537167438. Question popularity: 17 [recommend question]





