Functional, bytecode interpreted language written in C
# Release
meson setup builddir/release --buildtype release -Db_lto=true
meson compile -C builddir/release
# Debug
# You may also use "--buildtype=debug" but this causes weird `_FORTIFY_SOURCE` warnings with clang18Stdenv.
meson setup builddir/debug --buildtype debugoptimized -Db_sanitize=address,undefined
meson compile -C builddir/debug
./builddir/{debug,release}/clam
The design and implementation of this interpreter is heavily inspired by Clox (from Crafting Interpreters), massive props to Bob Nystrom for writing such a useful book.