The various phases of a compiler are:
Lexical analysis
Syntax analysis
Semantic analysis
Inter ...