Lua VM running in a WASM environment
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode Initial commit Mar 17, 2017
lua-5.3.4 Initial commit Mar 17, 2017
.gitignore Initial commit Mar 17, 2017
README.md Update README.md Mar 18, 2017
main.c Working example. Mar 18, 2017
main.html More MIME testing Mar 18, 2017
main.js Working example. Mar 18, 2017
main.wasm Working example. Mar 18, 2017
makefile Working example. Mar 18, 2017

README.md

wasm_lua

Lua VM running in your browser!

Open here, if it works you should see "Hello Lua!".

Each update is executed in a unique VM instance via WASM + emscripten.

Currently test on Firefox 52.0 but probably works on other platforms as well.

Why?

Lua is a fast, highly embeddable VM that boasts a wide set of features allowing it to be adapted to a diverse set of domains and platforms.

  • Can be run in 400kb of memory or less.
  • Multi-paradigm via metatables, closures and coroutines.
  • Robust, proven VM that's shipped on platforms including MIPS, x86, ARM and many others(and now WASM!).
  • Small, easy to understand language.
  • Extensible debugger hooks for easy on-target debugging.

Thanks to rawgit for hosting.