Webspot Pieter van Ede

Compilerconstruction

In this course different techniques were treated which are necessary to build a compiler or interpreter, not only for programming languages but also for domain-specific languages.

Bibtex2HTML

With this assignment we had to create a "compiler" that converts a bibtex file to a HTML file.

Download
Supporting libraries
Download
Resulting package This requires at least GHC version 6.10.x.

Optimisation

For this assignment we had to build a proper compiler that translates Java programs to a kind of assembly (SSM to be precise, a system independent assembly emulator).

Download
Supporting libraries
Download
Resulting package This requires at least GHC version 6.10.x.

T-diagrams

For this assignment we had to design a domain-specific language to represent T-diagrams. These diagrams depict the compilation process and which components are involved. Then we had to build a compiler that generates a LaTEX document, which when rendered shows a picture of the diagram.

Download
Supporting libraries
Download
Resulting package This requires at least GHC version 6.10.x.

XML Tidier

In this assignment we had to write a simple formatter for XML files.

Download
Supporting libraries
Download
Source of the result This requires at least GHC version 6.10.x.