This is just me trying to craft a working compiler for a simple language. The direction is unclear -- I have no concrete plans for this project and I am designing the language as I work through the compiler.
Currently, onec does not depend on any external libraries, so building is straight forward. Simply execute the default target using make:
make
This compiles onec and outputs the binary at build/onec
.
You need Python 3.12 installed in order to run tests. Other versions of Python 3.x might work but I have only tested with 3.12.
Install dependencies from requirements.txt:
pip install -r t/requirements.txt
Finally, use the test
target to run the tests:
make test