The Mother Generic Compiler Project

The mother modular generic compiler is designed to compile arbitrary computer languages to arbitrary assembler code. The desired language and assembler is specified as tables, so there is no need to generate something like a cross compiler. Further, mother is modular, as it is made up of a set of seperate tools which are used in the very unixable fashion of calling them in a pipe.

Version 0.0.4

The frontend is working more or less, and PL/0 is specified, thus c -e l/pl0/a/test <program.pl0 will output the semantic analysis for the given program. Well, missing for the real frontend was a scope-checker and a type-checker. Here comes a cute tiny scope-checker.