Notes (handout) | Notes (overhead presentation) | Relevant textbook material |
---|---|---|
Introduction | Introduction | Chapter 1 |
Crafting a simple compiler | Crafting a simple compiler | Chapter 2 |
Lexical analysis | Lexical analysis | Chapter 3 except Sections 3.8.3 and 3.8.4 |
Context-free grammars and top-down parsing | Context-free grammars and top-down to parsing | Chapter 4, some Chapter 5 |
Top-down parsing (continued) | Top-down parsing (continued) | rest of Chapter 5 |
Bottom-up parsing | Bottom-up parsing | Sections 6.1 to 6.3 |
Further LR parsing | Further LR parsing | Sections 6.4 and 6.5 (except 6.5.4) |
Syntax directed translation | Syntax directed translation | Chapter 7 |
Type checking | Type checking | Chapter 8 |
Semantic Analysis | Semantic Analysis | Chapter 9 |
Runtime environments | Runtime environments | Chapter 12 (partial) |
Intermediate representations and code generation | Intermediate representations and code generation | Chapter 11 (in principle) |