Compiler Construction Hands-On
Aarne Ranta
Sun Yat-Sen University, Guangzhou, 14-18 November 2016
Goals
- Build a compiler and an interpreter for a small but realistic C-like programming language.
- Learn the main techniques of compiler construction: grammars, lexing, parsing, abstract syntax, syntax-directed translation, type checking, interpretation, code generation.
- These techniques are applicable in your later career for instance when designing and implementing domain-speficic languages.
Assignments
The course is completed by handing in solutions to three assignments:
Each student must solve the assignments individually:
copying solutions from others leads to automatic rejection for both students.
That is, if A copies from B, both A and B are rejected.
Material
Tools
Example code
More links
Teacher
Aarne Ranta (contact details at the bottom of page)