View on GitHub


Implementation of a programming language (Code for a Course on Code Reading and Compiler Extension)

Download this project as a .zip file Download this project as a tar.gz file


Implementation of a Programming Language

This code has been written for a course on code reading and compiler extension.

This is the code of a compiler (and an interpreter) for a simple programming language (with first-class local functions, exceptions, classes). This compiler is studied in a course that trains students to read code and extend it. The main features of that system are:

This course draws on a course that presented compilation via a series of languages where features were incrementally added. The '9' in 'ilp9' stands for the ultimate version of that series of systems.