Lyra engine scripting with wasm using Wasmtime
Find a file
2025-07-18 17:36:43 -04:00
common-api Expose world resources, cleanup many compiler warnings 2025-07-18 17:04:27 -04:00
src Move LICENSE to correct place 2025-07-18 17:36:43 -04:00
.gitignore Update wasm ids spreadsheet 2025-07-18 13:23:18 -04:00
Cargo.lock Change how assets are shared to the guest, expose Gltf 2025-07-17 16:58:10 -04:00
Cargo.toml Implement WASM ECS systems 2025-06-11 19:31:05 -04:00
LICENSE Move LICENSE to correct place 2025-07-18 17:36:43 -04:00
README.md Add asset handles as components, add bundles to common-api 2025-07-16 09:51:56 -04:00
rust-toolchain.toml Initial commit 2025-01-11 23:32:13 -05:00
rustfmt.toml Initial commit 2025-01-11 23:32:13 -05:00
wasm-type-ids.ods Expose world resources, cleanup many compiler warnings 2025-07-18 17:04:27 -04:00

WASM Scripting for Lyra Engine

This crate is a WASM scripting implementation for Lyra Engine to allow cross-language scripting via wasmtime.

WASM Type ID Mappings

Rust's type ids are not stable so there needs to be a static list of IDs for native types so the WASM modules can send and recieve data from the host. I created a spreadsheet with the ids alongside their native types in wasm-type-ids.ods.