Simple-Compiler
Simple Compiler written in Pascal (Currently outputs 68000 asm)
- Quiet · last change 4-25-2012
- ★ 1 on GitHub
README
Following the "LET'S BUILD A COMPILER!" tutorial by Jack W. Crenshaw, Ph.D.
Currently Pascal based compiler which outputs 68000 assembler.
Deviation from tutorial:
Unary Minus - Handled in factor which allowed for simpler asm output.
Whitespace - Handled differently (large change). Generally ignored but can break
up identifiers which will cause a compiler error.
Error Message - Added a position counter to point to the error in the code when
the code doesn't compile.
Future goals:
* Actually finish it
* Convert to x86 asm
* Might convert compiler to new language (bootstrap it?)
