Banner
Blog | Artikler | Projekter | CV
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:
  1. The mini-java grammar and semantics
  2. Construction of a lexer and a parser
  3. Construction of an abstract syntax tree and how to decorate it
  4. Code generation
  5. Walkthrough of the whole compiler implemented in Java