Introduction to Compiler

Compiler is a software.

Compiler is a large program.

Compiler converts high level language in to machine language.

Compiler do error reporting present in the source program.

Classification of Compiler:

  1. Single Pass Compiler
  2. Multi Pass Compiler
  3. Debugging Compiler
  4. Optimizing Compiler
  5. Incremental Compiler
  6. Silicon Compiler

What is Pass in Classification of Compiler ?

Ans. Pass is complete scan of a program from beginning.
Compilation time is inversely proportional to the number of passes.

How to reduce number of passes ?

Ans. To reduce number of passes, group several phases in one pass.