|
|
|
Home General Staff Contact Partners Alumni Research Areas Projects Papers Books Reports Awards Teaching Lectures Exams B.Projects M.Theses PhD Theses Go Abroad Misc Library Seminars Gallery Links Search Webmaster
|
Language Specification & Compiler Construction
A course at Oxford Brookes University, February 2012 Goals
ContentsThe course goes through all phases of a compiler. It shows the theoretical concepts underlying each phase as well as how to implement it efficiently. The students will write a small compiler for a Java-like language. It will translate a source program into the code of virtual machine. The implementation language will be Java.
Handouts
Handouts Slides
1. Overview LabJDK: Java Development Kit from Oracle The following code templates are necessary for doing the lab described in the handouts.
Level 1: Scanning
Level 1: Parsing
Level 2: Symbol table handling
Level 3: Code generation
Level 4: Compiler Generator Coco/R Text BookThe text book N.Wirth: Compiler Construction. Addison-Wesley 1996 comes close to the contents of this course. Unfortunately, it is out of print, but it can be downloaded from here. |