Required Reading

In this course we will use the lecture notes on Languages and Compilers. The latest version posted here is from November 2011.

You can also buy a printed copy of the lecture notes from AEskwadraat. Some of the printed versions may be from older editions, but the differences are minor.

Software

Basic Installation

We use Haskell for all labs. The easiest way to get all the tools you need is by installing the Haskell Platform. The lab computers should already be configured with the Haskell Platform.

If, for some reason, you need to configure a system without the Haskell Platform, then you will need to install the following tools:

The following library does not come with the Haskell platform:

Documentation for uu-tc can be found on the Hackage page.

Installing Packages from Hackage

You can install packages (such as alex or happy or uu-tc from the open package repository Hackage.

You do this using software called cabal-install, whose command-line tool is called cabal and is included with the Haskell Platform. See the guide on how to install a Cabal package for more on this procedure.

On the lab computers the cabal command is available from the special cabal command prompt which can be found under Start -> Standard Applications -> Informatica -> Haskell 2011.2.0.1 -> cabal

Simple Stack Machine

The SSM page is the reference for the Simple Stack Machine architecture and instruction set.