The VM built string views from a hand-written { *u8, u64 } descriptor,
which on wasm32 (size_t lengths) read every string as empty. Views now go
through std's BytesFromPointer, which uses the target's slice layout.
The object records and LuaSyntaxNode are private again, now that the
toolchain (locked to 88b505bf) handles Vecs of module-private records.
`make wasm` builds the VM for the web platform with Emscripten and runs
it in a private headless Chromium as part of `make test`.
Unit tests cover values, tables, natives, userdata finalizers, errors,
refs, environments, the print sink, hooks, the memory limit and native
yields. LuaReplace now resolves its index before popping, the collector
never lets the heap pass max_memory unchecked, and strings accept
LuaJIT's \u{XXX} escapes.
make test builds three runners: API smoke checks, every tests/lua script
in a fresh state, and a load check of each .lua file under the Katalis
mods folder (KATALIS_MODS overrides the path).
Lexer, parser and register compiler for the LuaJIT dialect of Lua 5.1
(goto, hex and \z escapes), an interpreter with tail calls, varargs,
coroutines and metatables, a mark-and-sweep collector with weak tables and
__gc, the base, coroutine, string, table, math, bit, debug and sandboxed
os/io libraries, and an embedding API modeled on the C API.