A C implementation of the Lox language.
The implementation follows part III of the book by munificent.
Launch it via ./build/clox
from the root of the repo after building it. Passing no arguments will start the REPL.
Pass a file as an argument to execute the file: ./build/clox myfile.lox
For a description of some options available, run it with the -h
or --help
option.
Generate build files with Meson and then build as you're used to.
If you're on Linux with Meson installed:
$ ./build.sh
Copyright (c) 2018-2022 by Adam Hellberg.
This project is licensed under the MIT License, following the main repo licensing the code part under MIT.
See the file LICENSE
for more information.