Luau (lowercase u, /ˈlu.aʊ/) is a fast, small, safe, gradually typed embeddable scripting language derived from Lua.
This fork is designed to overhaul the interop you get while embedding Luau in a website, Node.JS, or Typescript. For examples and documentation for Web/Node, you can check out the wiki.
This fork only modifies Web.cpp, lbaselib.cpp, and lbuiltins.cpp.
Luau is an embeddable programming language, this fork rewrites the WASM execution API and actually implements interop allowing you to provide a custom environment for the script that is executed, as well as interop allowing JS to call functions from Lua, and Lua to call functions from JS.
./build_linux.sh
./build_macos.sh
./build_web.sh
./build_windows.shBuilding Luau Interop targeting Web/Node requires emcmake which is different from cmake.
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.shgit clone https://github.com/emscripten-core/emsdk.git
cd emsdk
emsdk install latest
emsdk activate latest
emsdk_env.bat