A compiler and bytecode vm for the programming language lox.
Prerequisites:
- A C99 compiler
- POSIX Make
$ make lox-release
$ ./lox-release run test/hello_world.lox
$ printf "(12 + 2) * 3" | ./lox-release run -
$ ./lox-release dump test/hello_world.lox
Recommended setup
Additional prerequisites:
- GNU parallel (optional, only to run the tests)
# With Address Sanitizer:
$ make lox-debug
# Or without:
$ make lox-debug SANITIZER=""
$ ./lox-debug
# Test
$ ./test.sh
make docker
- Strings are not interned
MIT