Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.