CS310 Compiler Design   2003-2004

Recommended Text

Expert C Programming Expert C Programming
by Peter van der Linden

Prentice Hall, 1994

ISBN: 0131774298


The University Library subscribes to an e-book service called Safari, and you can now use it to access Expert C Programming on-line.

Note that this link will only work from an on-campus connection, and is limited to 4 users at a time.

You might also be interested in Practical C Programming by Steve Oualline.


Lab Assessment

Starting in the lab of March 10th 2004, you will be assessed in each lab on your progress in completing the lab exercises. Each assessment will be worth 5% of your CS310 mark, and all these assessments will count for 30% of the CS310 mark in total.

End-Of-Year Exam

Any topics covered in the lectures or labs is examinable. If you're looking at last year's exams, you should ignore Java-specific questions - or try to imagine what the C version might look like!

Previous exams: Spring 2003, Summer 2003, Autumn 2003, Summer 2004, Autumn 2004.

Notes & Slides

  • Slides from the first lecture (PDF)
  • Notes on lexical analysis (PDF)
  • Notes on context-free grammars (PDF)
  • Notes on LL and LR parsing (PDF)

Other links

James Power,
Dept. of Computer Science
Last revised: 17 August 2004