This is the official MiniCompiler web page. MiniCompiler is used at the Department of Information Technology, Klagenfurt University, Austria for the compiler construction course. It translates the PL0 language to MIPS assembler code and is hand-written in Java. The compiler is separated into five stages, each stage adding functionality to the compiler.

 

Project Staff

Project coordinators: Klaus Leopold, Peter Karpati, Laszlo Böszörmenyi
MiniCompiler developers:
Stefan Schauer, Stefan Leitner
Visualization developers: Roland Dobernik, Hans-Peter Kreuter, Joachim Lessacher

 

MiniCompiler Visualization

Visualizes the compilation process of the MiniCompiler. The main features are

The Visualization Applet can be started online here!!

 

Download the Stages

MiniCompiler - Stage1: Lexer
MiniCompiler - Stage2: Parser
MiniCompiler - Stage3: Symbol Table
MiniCompiler - Stage4: TypeChecking
MiniCompiler - Stage5: Code Generator


Each stage can be (optionally) added to an Eclipse workspace. Furthermore ANT build files exist for easy compilation.

 

MiniCompiler JavaDoc

MiniCompiler - Stage1: Lexer
MiniCompiler - Stage2: Parser
MiniCompiler - Stage3: Symbol Table
MiniCompiler - Stage4: Type Checking
MiniCompiler - Stage5: Code Generator

Syntax of PL0

 


K. Leopold. 2006-03-15