Haskell implementation of the Essentials of Compilation book by Jeremy Siek.
Current status of each language can be found here:
Language | Parser | Interpreter | Assembler |
---|---|---|---|
✅ | ✅ | ❌ | |
💻 | ❌ | ❌ |
KEY : ✅ implemented, ❌ not implemented, 💻 current focus
This project uses Stack to build, make sure you have it installed before proceeding.
You can build the compiler by simply running:
stack build
You can run the test suite on every change with the following command:
stack build --test --coverage --file-watch
Not yet supported, but eventually in the plan.
Use stack to execute the compiler after it's built
stack execute -- iucc --file path/to/sample/file.rkt
Or if you have stack's bin directory in your path you can run install
:
stack install && iucc --file path/to/sample/file.rkt