INTRODUCTION
The course
attempts to focus on more advanced concepts in the implementation of
programming languages. .
PRACTICAL
WORK
Students will be expected to do some practical work on modifying a
compiler
for a simple language. Key points are
- the fact that automatic
compiler construction tools are to be used rather than hand coded
parsers,
- the fact that the language
supports high level map operations on data,
- the need to generate real machine code
- the use of a functional source language
- the use of an array source language
Past exam paper
Here is a
past
exam paper with sample solutions
Background Material
Material from
my book ‘A
compiler writers Toolbox’
as edited down for the 3rd year compiler course
My web
page on compilers, contains source code and articles on a number of
compilers that I have developed.
Compilation
to multi-media instructions. An account of the ILCG tool for
multi-media
instructionset compilation
External links
Programming
Language Research
The
comp.compilers archive
The Stanford
SUIF Compiler Group
Parsing
Techniques - A Practical
Guide
Various
compiler-related
links
JavaCC
JLex: A
Lexical
Analyzer Generator for Java
CUP
Parser Generator
for Java
|