View the Project on GitHub TiarkRompf/cs352

Compilers: Principles and Practice

Spring 2022, 3 credits. Instructor: Prof. Tiark Rompf and Dr. Oliver Bracevac

Announcements will be posted on Piazza. Homework submission and grading will be done through Brightspace

Midterm will be in March/April, the exact date and time will be announced later.

For the first two weeks, lectures will be held in GRIS 103 on Zoom (link can be found in this Piazza post) Monday, Wednesday and Friday, 1:30pm to 2:20pm. As the Omicron situation unfolds lecture delivery might change. Please keep an eye on the announcements on Piazza.

Teaching assistants are:

PSO sessions are:

  • Monday 2:30pm to 3:20pm on Zoom (TA: Anxhelo)
  • Wednesday 2:30pm to 3:20pm on Zoom (TA: Vivek)
  • Friday 9:30am to 10:20am on Zoom (TA: Luke)

Office hours are scheduled by appointment. Please send an email to TAs to schedule an office hour.

About the Course

In a nutshell: The theory and practice of programming language translation, compilation, and run-time systems, organized around a significant programming project to build a compiler for a simple but non-trivial programming language.

Parts of the class are based on the Advanced Compiler Construction class taught by Michel Schinz at EPFL. The corresponding class materials (lecture slides, programming assignments, etc) are used with permission.

Grades: Final grades will be based on results for the programming assignments (50%), midterm (20%), and final exam (30%). Achieving a minimum of 20% in each of the three components is mandatory for a passing grade.

Late Work Policy: No late submission will be accepted. Exceptions will be given only in the most extreme circumstances. Any travel, including interview trips, load from work or other classes, or simply not being able to get your program to run will not be grounds for extensions or exceptions.

Academic integrity: For general policies about academic integrity etc. Please see here. You are expected to read that page and will be held accountable according to its contents.

Recommended Book

Supplementary Resources

Lecture Notes

A set of lecture notes is available here: