Simon Willison released luau-wasm 0.1a0, a Python package that compiles Luau to WebAssembly and ships it as a WASM wheel on PyPI for direct use with Pyodide.

The significance is in the distribution method. WASM wheels let browser-based Python environments like Pyodide install native-compiled packages without a traditional build step. Luau, Roblox's typed superset of Lua, now runs inside that stack.

Willison documented the full process in a companion post titled 'Publishing WASM wheels to PyPI for use with Pyodide.' That post is the real read: it covers how to build, package, and publish this class of wheel, a pattern applicable well beyond Luau.

[READ ORIGINAL →]