A Minimal Compiler and Run-Time System
- Compiler:
- Front-end: Alfa [6] (programming environment, type checking)
- Back-end: ~750 lines of Haskell code (excluding standard libraries)
- Input: a useful subset of the language Alfa supports
- Output: a small subset of C
- Run-time system size: ~630 lines of C
- Including a simple copying garbage collector: ~120 lines of C
- Compile-time configurable for hosted and bare-metal use