Implementation of a compiler for a simplified version of Java, done as a school assignment.
The specification of the language can be found on the child links from this folder of the course website.
-
Lexical analysis was performed using the JFlex library. The JFlex.jar can be downloaded from the project website.
-
Syntax analysis was performed using the CUP library. The cup_v10k.jar was downloaded from the course website. Note that this version of the CUP library is based on v0.10 version. The user manual for that version can be found on the project website. The CUP library is now maintained by the Technical University of Munich, and the new project page can be found here.