This is me going through the Essentials of Compilation: The Incremental, Nano-Pass Approach, but using Rust instead of Scheme.
This project currenly only runs on Windows. It'll probably change later.
- Windows
- Python3
- Rust
- if you get the following error
error: linker 'link.exe' not foundwhen building the runtime, install Visual Studio with the C++ build tools.
- Linux
- Not supported yet.
git clone https://github.com/tbre90/incremental-compiler
- Windows
- Just building:
py project.py - Start repl:
py project.py --op run- type
:helpto get a list of available commands in the repl
- type
- Running tests
- To run all tests:
py project --op test - To run a specific test:
cargo test -- <name of test> e.g.: cargo test -- x64_build_add_two_read
- To run all tests:
- Just building:
- Linux
- Not supported yet.