Experimental interpreter written from scratch in c
- based on Thorsten Ball's "Writing An Interpreter In Go - Monkey Lang"
lilac_lexer-2024-10-12_21.14.41.mp4
lilac_parser-2024-10-12_21.21.23.mp4
- clang > 18.1.8
- curl
make depsto setup include file depsmakeormake allto build the app inout/
- uses bear to build compilation_database for lsp
make compile-db
make testbuilds the test_runner inout/, then just run it with./out/test_runner- Lilac uses greatest for the test suites
- so separate test suites can be ran via
-sflag with many other options
- so separate test suites can be ran via
Build the binary output with make command.
For lexer output:
./out/lilac --lexerFor parser output:
./out/lilac --parser