/    /  Compiler Design-Intermediate Code Generation

Intermediate Code Generation

It converts semantically required arse tree into 3-address code.

It will convert the source code into intermediate code we have the following advantages:

  • Machine independent code optimization is applied.
  • Retraagetics diff backends can be attached to the existing front end to generate a new compiler.

 

The Forms of Intermediate Code 

  1. Syntax Tree/ Abstract Tree
  2. Postfix notation
  3. Three address code representation or notation

 

Reference Link

Intermediate Code Generation