sointu/examples/code/wasm
2024-04-08 10:23:16 +01:00
..
index.html add wasm instantiation example 2024-04-08 10:23:16 +01:00
README.md add wasm instantiation example 2024-04-08 10:23:16 +01:00
test_chords.wasm add wasm instantiation example 2024-04-08 10:23:16 +01:00

Requirements: sointu binaries, wabt

To generate the .wasm file:

sointu-compile -o . -arch=wasm tests/test_chords.yml
wat2wasm --enable-bulk-memory test_chords.wat

To run the example:

npx serve examples/code/wasm