Blog
|
Artikler
|
Projekter
|
CV
Print siden
Peter Hansen
Tiger Media
Jacob Bejlegaard
This article series contain information about how to construct a compiler from scratch. The compiler will implement the
mini-java language
. The purpose is to capture the knowledge taught on 4.semeste in computer science at
Aalborg university
.
The following parts will be discribed:
The mini-java grammar and semantics
Construction of a lexer and a parser
Construction of an abstract syntax tree and how to decorate it
Code generation
Walkthrough of the whole compiler implemented in
Java