This is an old revision of the document!


FLC Project

In order to pass the exam the students have to implement a compiler for COOL (Classroom Object-Oriented language). This is a simple object oriented language which has been defined by Prof. Alex Aiken from Stanford University.

The language manual provides you all the information needed to develop a compiler for COOL. As first step you will have to concentrate on the Lexical and Syntax analysis phases that will have to be implemented in ANTLR. In January lessons we will also concentrate on the semantic analysis phase and on the generation of the target code.

With respect to the target code students can consider Java or another language for which they feel confident. In the latter case please communicate your choice to the teacher.