AD-604 (C) Compiler Design Notes
5 notes for Compiler Design, unit by unit.
Notes for AD-604 (C)
- Unit 1 · Short notes Introduction to compiling & Lexical Analysis Introduction of Compiler · Major data structures in compiler · Types of compiler · Front-end and back-end of compiler · Compiler structure: analysis-synthesis model of compilation · Various phases of a compiler
- Unit 2 · Short notes Syntax Analysis & Syntax Directed Translation Syntax analysis: CFGs · Top-down parsing · Brute force approach · Recursive descent parsing · Transformation on the grammars · Predictive parsing
- Unit 3 · Short notes Type Checking & Run Time Environment Type checking: type system · Specification of simple type checker · Equivalence of expression types · Type conversion · Overloading of functions and operations · Polymorphic functions
- Unit 4 · Short notes Code Generation Intermediate code generation: declarations · Assignment statements · Boolean expressions · Case statements · Back patching · Procedure calls
- Unit 5 · Short notes Code Optimization Introduction to code optimization: sources of optimization of basic blocks · Loops in flow graphs · Dead code elimination · Loop optimization · Introduction to global data flow analysis · Code improving transformations