J-- Compiler
These are the steps to build the parser
To build the parser:
make buildTo remove the compiled and generated files:
make clearExecutable will be generated in the project root. To run it:
./jay <path to a file>The project contains a regular, simple test runner and some unit tests. All test files are located in test directory.
The test.sh runs all of the test files in the test/codegen directory. To run a single file, refer to 'Running the parser' section above.
To run the test runner, run the following command (it will perform a clean build):
make test_runnerNote: instead of using
make test_runneryou can also call./test.shinstead (ensure to make it executable usingchmod +x ./test.sh).
Artem Golovin