A compiler translates the code written in one language to some other language
without changing the meaning of the program. It is also expected that a compiler
should make the target code efficient and optimized in terms of time and space.
Compiler Design is a one-semester module taken by third year Integrated Computer Science
students studying tools designed for writers of compilers and interpreters which are also
useful for many other applications.
The course is relevant for any application that looks for patterns in its input or has an input
or command language.
Timetable
- In person Lecture 10:00 Monday LB08
- In person Lecture 12:00 Wednesday LB01
Assessment Structure
100% In person written 2 hour examination.
Supplemental exam 100% In person written 2 hour examination.
Example Exam
Solutions
Optical recognition mark sheet
Codemark
Codemark is a virtual learning environment and course management system.
Programming Assignments (Ungraded)
- Assignment 1 even.l. Guideline submission date Week 2.
- Assignment 2 comments.l. Guideline submission date Week 3.
- Assignment 3 plates.l. Guideline submission date Week 5.
- Assignment 4 roman.y Guideline submission date Week 7.
- Assignment 5 romcalc.y Guideline submission date Week 8.
- Assignment 6 calcwithvariables.y Guideline submission date Week 10.
Written Notes
Video Notes
Recommended text
Flex and Bison, John Levine,
Publication date 28 Aug 2009,
Publisher O'Reilly Media, Inc, USA
Resources