Intermediate Code

Lots of syntax is useful humans for not for computers. In order to make the generation of the rest of the layers easier, an alternate form of the source code is useful with minimal syntax. This is referred to as intermediate code. It is implemented in a programming language that is a minimal Lisp. This intermediate language has a much simpler grammar than the original source code language. Programs that convert abstract syntax trees to intermediate code are referred to as intermediate code generators.

To see the implemenation of the intermediate code generator, click here .

To see the grammar, click here .

To see the script that accepts source code and creates all the corresponding layers, including the intermediate code layer, click here .