https://github.com/vvanders/wasm_lua
Lua VM running in a WASM environment
https://github.com/vvanders/wasm_lua
Last synced: 8 months ago
JSON representation
Lua VM running in a WASM environment
- Host: GitHub
- URL: https://github.com/vvanders/wasm_lua
- Owner: vvanders
- Created: 2017-03-18T03:01:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T14:27:58.000Z (about 2 years ago)
- Last Synced: 2024-11-19T07:40:29.362Z (about 1 year ago)
- Language: C
- Size: 1.56 MB
- Stars: 793
- Watchers: 30
- Forks: 53
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wasm - wasm_lua - Lua VM running in a WASM environment
- my-awesome-lua - wasm_lua - Lua VM running in a WASM environment (Resources / Compiles to JS, asm.js or WebAssembly for Browser)
README
# wasm_lua
Lua VM running in your browser!
Open [here](https://cdn.rawgit.com/vvanders/wasm_lua/d68f46a8/main.html), 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](https://en.wikipedia.org/wiki/Lua_(programming_language)) 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](http://rawgit.com/) for hosting.