DMAT · rs · compiler · wip
A compiled programming language for the original Game Boy.
DMAT is a programming language and compiler written in Rust that targets the original Game Boy's SM83 CPU. The whole pipeline is built from scratch, from parsing through SM83 code generation and ROM output.
The language is shaped around the hardware's limits: 8 KB of work RAM, banked ROM, memory-mapped I/O, and restricted VRAM access windows.
highlights
- Designing and building a programming language and compiler in Rust that targets the original Game Boy's SM83 CPU.
- Writing the full compiler pipeline from the ground up, from parsing through SM83 code generation and ROM output.
- Shaping the language around the hardware's limits, including 8 KB of work RAM, banked ROM, memory-mapped I/O, and restricted VRAM access windows.