Site icon i2tutorials

Compiler Design-Role of a Lexical Analyzer

Role of a Lexical Analyzer

 

The lexical Analyzer being the first phase in compiler designing, plays an important role.

 

Why do we need a Lexical Analyzer?

  1. Simplicity of the design of the compiler.
  2. Efficiency of the compiler is improved.
  3. Portability of the compiler is improved.

 

Reference Link

Role of a Lexical Analyzer

Exit mobile version