Unit 1
Overview of Compilation: Compiler Structure – Overview of Translation. Lexical Analysis: Regular Expressions – From Regular Expression to Scanner – Implementing Scanners. Parsers: Expressing Syntax – Top-Down and Bottom-Up Parsing – LR(0), LR(1) and LALR(1).
Unit 2
Context-Sensitive Analysis: Type Systems – Attribute – Grammar – Syntax Directed Translation, Intermediate Representations: Graphical and Linear Intermediate Representations – Symbol Tables. Procedure Abstraction: Procedure Calls – Name Spaces – Communicating Values between Procedures.