This note will
develop a fundamental understanding of the issues that arise in program
translation, including syntax analysis, translation, and rudimentary program
optimization. Topics covered includes: The Compiler's Front End, Local Register
Allocation, Implementing Scanners, Lexical Analysis, Parsing, Intermediate
Representations and Code Shape.
This note explains the following topics, lexical analysis, Syntax analysis and run time environments, Intermediate code generation, Code generation and code optimization.