A C compiler built using Rust. The learning goal was to try to try TDD for every line of code I wrote, and follow SOLID practices as best as I could.
Followed a bunch of random sources.
- Super tiny C compiler
- Nora Sandler: Writing a C Compiler
- An Incremental Approach to Compiler Construction
Ok I don't wanna do this anymore. The only thing this compiler can compile is a main function that returns a number.
cargo run program.c