•The
different phases can be seen as different transformation steps to transform source code into object
code.
•The
different phases correspond roughly to the different parts of the language specification:
•Syntax analysis <-> Syntax
•Contextual analysis <-> Contextual
constraints
•Code generation <-> Semantics