decoding more formats
Ok I'm not insane just foolish
Vendor fennel interp, and notes on unit tests.
This is an attempt to write a compiler from Lua 5.4 bytecode to webassembly.
Why? As the name implies, to have something to do.
Runs with Fennel 1.2.0 or maybe something else.
This uses integer math and bitops for opcodes, so requires Lua >= 5.3 to run. Probably assumes it's running on a 64-bit machine, so a Lua integer is 64 bits. This may or may not matter.
https://github.com/silentbicycle/lunatest Example usage: https://git.sr.ht/~technomancy/squirtleci/tree/main/item/test/init.fnl
Mozilla Public License 2.0