Skip to content

lua.wasm v0.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 22:15
2879f2d

Stock Lua 5.4.8 in a web page. lua.js: one file -- <script src=lua.js></script> then <script type=text/lua> -- with lua.wasm carried inside; print lands on the page, require fetches modules lazily, coroutine.yield() animates per frame, local time is the visitor's, and the Lua global reaches the VM from JavaScript (README, doc/lua-js.md). lua.wasm: the module alone, three imports (luaw.write, luaw.now, luaw.read), no WASI, no Emscripten (doc/wasm.md). Standard wasm exception-handling encoding; Chrome >= 137, Firefox >= 131, Safari >= 18.4, Node >= 24.15. Built with zig 0.15.1 (clang 20.1.2) and binaryen 132; the module's witnesses re-run at cut time by this workflow, lua.js's on every change.