Intermediate Code Generator

Intermediate code generator:

This phase is also called as the translator because it will translate the syntax tree into the intermediate representation so that it is easy to convert into the machine understandable language. This process allows the separation of dependencies among the source and the target.

Representation of intermediate code is done in two different ways.

High level representation.

Abstract syntax tree

Direct acyclic graphs

Flow graph

Low level representation

Postfix notation

Three address code

Contributor's Info