What are different passes of a compiler?


Various Passes of a Compiler are:

1. Lexial Analysis: This pass recognize the basic elements and creation of uniform symbols.

2. Syntax Analysis: This pass recognize the basic syntactic constructs through reductions.

3. Interpretation: This pass define exact remaining, creation of matrix and tables by action routines.

4. Machine Independent Optimisation: This pass creates a more optimal matrix.

5. Storage Assignment: This pass modifies the identifier and literal tables. It makes entries in the matrix that allow code generation to create code that allocates dynamic storage and that also allow the assembly phase to reserve the proper amount of static storage.

6. Assembly and Output: This pass resolves symbolic addresses and generate machine languages.

Post a Comment

0 Comments