diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..2a09d56 Binary files /dev/null and b/.DS_Store differ diff --git a/examples/.DS_Store b/examples/.DS_Store new file mode 100644 index 0000000..d2a2b71 Binary files /dev/null and b/examples/.DS_Store differ diff --git a/examples/code/.DS_Store b/examples/code/.DS_Store new file mode 100644 index 0000000..251e783 Binary files /dev/null and b/examples/code/.DS_Store differ diff --git a/examples/code/wasm/README.md b/examples/code/wasm/README.md new file mode 100644 index 0000000..a2c4aea --- /dev/null +++ b/examples/code/wasm/README.md @@ -0,0 +1,14 @@ +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 +``` diff --git a/examples/code/wasm/index.html b/examples/code/wasm/index.html new file mode 100644 index 0000000..76b6bc6 --- /dev/null +++ b/examples/code/wasm/index.html @@ -0,0 +1,57 @@ + + +
+