Computer Science Department
Programming Methods Laboratory

Compilation     winter 00/01
Ecole Polytechnique Federale de Lausanne
Assignment 2
17.11.2K

Write a parser for the programming language J0! Your parser should only check for syntactic correctness of the input. It is not yet necessary to construct an abstract syntax tree. However, it is a good idea, to write your parser in a way such that the return types of the parsing methods are always Tree. You can return the value null for now. This makes it easier to add the tree construction later.

You will find a Java framework for this assignment at

http://lampwww.epfl.ch/courses/compilation00/

You should present your solution in the tutorial on Friday, 01.12.2K.