Welcome to the course notes on Compiler Engineering. In this course package, we study the compiler pipeline phases, specifically syntax representations and target machine code optimization.

Course Objectives

By the end of this study guide, you will understand:

  1. Lexical analysis and parser design strategies.
  2. Abstract Syntax Tree representation methods.
  3. High-performance code optimization, specifically target register allocation.

Course Chapters

Use the index outline on the side to browse individual chapters:

  • Chapter 1: AST Node Generation & Context-Free Grammars
  • Chapter 2: Register Interference Graphs & K-Coloring Heuristics