Computer Laboratory

Course pages 2013–14

Compiler Construction

Lecture Slides :

Lecture notes :

  • cc_notes_2014.pdf. The lecture slides have been rewritten this year to present the material via the Slang (Simple LANGuage) compilers. The lecture concepts are about the same as those in these notes, just presented differently.

Associated source code:

  • Slang.1 compiler and virtual machines
  • Slang.3 compiler and VSM.2 virtual machine

Problem sets:

Of interest:

  • We are using a "nanopass" approach to describing compilers (but using SML rather than Scheme).