Module 02578 (2012)
Syllabus page 2012/2013
06-02578
Compilers & Languages
Level 3/H
Links | Outline | Aims | Outcomes | Prerequisites | Teaching | Assessment | Books | Detailed Syllabus
The Module Description is a strict subset of this Syllabus Page. (The University module description has not yet been checked against the School's.)
Relevant Links
Outline
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.
Aims
The aims of this module are to:
- give an overview of issues and techniques in compilation of high-level programming languages
Learning Outcomes
| On successful completion of this module, the student should be able to: | Assessed by: | |
| 1 | explain and apply the formalisms used in compiler construction, such as context-free grammars | Examination, continuous assessment |
| 2 | perform the main analyses and transformations used in compilation | Examination, continuous assessment |
Restrictions, Prerequisites and Corequisites
Restrictions:
May not be taken by anyone who has taken or is taking 06-15255 (Compilers & Languages (Extended)).
Prerequisites:
None
Co-requisites:
None
Teaching
Teaching Methods:
2 hrs/week
Contact Hours:
Assessment
- Sessional: 1.5 hr examination (80%), continuous assessment (20%).
- Supplementary (where allowed): 1.5 hr examination (100%).
Recommended Books
| Title | Author(s) | Publisher, Date |
| Modern Compiler Implementation in Java | Andrew W. Appel, Jens Palsberg | 2002 |
Detailed Syllabus
- Introduction: phases of compilation
- Parsing
- Context-free grammars
- Top-down parsing
- Bottom-up parsing
- Compiler construction tools
- Data flow analysis
- Code generation
- Call stack and stack frames
- Contents and layout of stack frames
- Static link and pointers into the stack
- Compilation of objects and classes
- Memory management
- Memory management with explicit deallocation
- Garbage collection
- Copying garbage collection
Last updated: 02 Sep 2010
Source file: /internal/modules/COMSCI/2012/xml/02578.xml
Links | Outline | Aims | Outcomes | Prerequisites | Teaching | Assessment | Books | Detailed Syllabus