18Winter COMP442/6421 Compiler Design
udgrad. & grad. course, Concordia University, 2018
- Course instructor Dr. Joey Paquet’s course webpage
- This page is maintained by the teaching assistance Haotao Lai (Eric)
Week 3
- Introduction how to use AtoCC for Lexical analyzer. [Slide]
Week 4
- Introduction how to use tools for grammar verification. [Slide] [example files]
Week 5
- Introduction how to solve the problem we may encounter during grammar transformation. [Slide]
- Ambiguity grammar, non-deterministic grammar, left recursive grammar
- First set and follow set calculation
- Example 3 I did in the lab note
Week 6
- Introduction to AST construction [Slide]
Week 7
- Reading week break
Week 8
- Introduction to visitor pattern [Slide]
Week 9
- no extra material
Week 10
- Two approach to do code generation [Slide]