https://github.com/traxys/wasm_lua
A WASM VM for lua in teal
https://github.com/traxys/wasm_lua
Last synced: 5 months ago
JSON representation
A WASM VM for lua in teal
- Host: GitHub
- URL: https://github.com/traxys/wasm_lua
- Owner: traxys
- Created: 2021-02-24T10:02:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-25T21:12:44.000Z (over 4 years ago)
- Last Synced: 2025-02-09T06:44:28.845Z (5 months ago)
- Language: Lua
- Size: 66.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wasm_lua
To make the `.lua` files you can do `make`.
To use either the `teal` module or the `lua` module you can do `require("wasm.wasm")`. An example use is provided in `wasm_test.tl`
## Why would you do that ?
Well, a lot of programs (like games) only run `lua` as addons/plugins/mods, but I really like writing Rust that is able to run in WASM. So I asked myself if I could not make a WASM VM in lua so that I could target those games with Rust mods.