
- 6 ECTS
- 2nd Semester
- Exam: Not specified
Feedback
No feedback for this course yet
Be the first to share your experience, or ask your friends to leave feedback! Your input helps future students make better choices.
About the course
Objectives
The Compiler Construction course introduces fundamental techniques and tools for the construction of language processors in general, including scanner/parser generators, checking semantic constraints, optimisation and code generation.
At the end of the course students should be able to use lexical and syntactic analyzer generators, verify language semantic constraints, generate code for virtual machines and know the basics of code optimization.
Syllabus
The compilation process; Scanning; Abstract syntax trees; Parsing; Symbol tables and declaration processing; Semantic analysis; Intermediate representations; Code synthesis; Runtime support; Program analysis and optimisation.
Assessment
Written assignments; coding assignments; test suit preparation assignments.
Bibliography
Main
- Modern Compiler Implementation in Java, Andrew W. Appel and Jens Palsberg, 2002, Modern Compiler Implementation in Java. Andrew W. Appel and Jens Palsberg, 2nd edition. Cambridge University Press, 2002
Secondary
- Compilers: Principles, Techniques, and Tools, Alfred V. Aho, Monica S. Lam, Ravi Sethi, Jeffrey D. Ullman, 2007, Aho, A. V., Sethi, R., & Ullman, J. D. (1986). Compilers, principles, techniques. Addison wesley, 7(8), 9.