Cheesecake BASIC was an exercise in compiler-writing. The goal of
the exercise was to produce a self-compiling compiler supporting
a syntax compatible with QuickBasic.
The end-result was a bytecode-based compiler/interpreter that
understands a language compatible with QuickBasic. The compiler
itself can be compiled with any of the following compilers:
- Cheesecake BASIC (the compiler complies itself).
- PowerBasic console compiler 2.0 or above
- QuickBasic 4.x
- PowerBasic compiler for DOS (compiles, but refuses to
run :( )
The stages of the project proceeded as follows: