Paul Kelly: Compilers (introductory)


This page covers the first half of the Compilers course, taught by Paul Kelly. The second half is taught by Naranker Dulay; see his web page https://www.doc.ic.ac.uk/~nd/compilers/.

Lecture notes are available on the web here. Note that these may not be fully up to date until paper copies are actually distributed.

Tutorial exercises are available on the web here. Note that these may not be fully up to date until paper copies are actually distributed.

Books: some information about the course text and other useful reference sources can be found here.

Sample code etc is available on the web here.

Past papers are available on the web here and


  • Exercises

    Both assessed and unassessed exercises will be used to introduce important ideas. Thus if you don't do them in time, you won't know what's going on in the lectures.

  • Lectures

    The primary objective of the lectures is to help you understand and use the textbooks. Copies of the lecture's overhead transparencies will be provided, and you are encouraged to make notes of your own.

    Web resources There is an enormous amount of useful material on compilers on the web, including course materials for similar courses at other institutions. Here are a couple to get started: