6.3 Translation to
an Intermediate
Representation
In order to perform optimizations on a program and to generate code, it is convenient
to produce an intermediate representation better suited to these tasks than the parse tree
representation. Abstract syntax trees (AST's), are used in many modern compilers. Diana,
the intermediate language for Ada, is an attributed AST.
We will show the following intermediate representations:
Send questions and comments to: Karen Lemone