This repo contains a few folders, each with a html file and wasm module in them.
To get started, install the WABT Toolkit via homebrew or your usual package manager:
brew install wabtNext, run make:
makeAnd then run the server:
We need the python server to properly serve the webassembly binaries with the correct content types:
python3 server.pyThen, you can navigate to one of the examples:
- Hello World http://localhost:8888/example1
- Addition http://localhost:8888/example2
- Function Calls http://localhost:8888/example4
- Memory http://localhost:8888/example4
- Globals http://localhost:8888/example5
License: MIT