Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/traxys/wasm_lua
A WASM VM for lua in teal
https://github.com/traxys/wasm_lua
Last synced: 25 days 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 (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-25T21:12:44.000Z (almost 4 years ago)
- Last Synced: 2024-12-21T02:07:51.998Z (about 1 month 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.