School of Computer Science

Module 06-28207 (2015)

Compiler Construction

Level 3/H

Dan Ghica Semester 1 20 credits
Co-ordinator: Dan Ghica
Reviewer: Hayo Thielecke

The Module Description is a strict subset of this Syllabus Page.


The module describes the structure of a typical compiler. The phases of compilation, from the front end to analysis and code generation, as well as the main techniques used in each phase will be covered. Students will develop advanced practical skills in compiler design and implementation.


The aims of this module are to:

  • give an overview of issues and techniques in compilation of high-level programming languages
  • deepen the students' practical knowledge of modern compiler design and implementation

Learning Outcomes

On successful completion of this module, the student should be able to:

  1. Explain and apply the formalisms used in compiler construction, such as context-free grammars
  2. Perform the main analyses and transformations used in compilation
  3. Implement and verify certain aspects of a compiler for a modern programming language




Teaching methods

2 hrs/week (Lecture), 2 hrs/week (Supervised Laboratory)

Contact Hours:



Sessional: 1.5 hr examination (40%) is an internal hurdle, continuous assessment (60%) is an internal hurdle

Supplementary (where allowed): 3 hr examination (100%)

Programmes containing this module