A simple project I put together to see what WebAssembly is all about.
- HTML 45.5%
- WebAssembly 38.7%
- Shell 15.8%
| .gitignore | ||
| index.html | ||
| math.wat | ||
| README.md | ||
| test.sh | ||
WebAssembly example
A simple project I put together to see what WebAssembly is all about.
Installation
If you use Ubuntu, you can also use localops to install wabt and http-server. Then just clone this repo and you are done.
Files
- index.html: here your WebAssembly functions are loaded and used.
- math.wat: source code for simple mathematical functions written in WebAssembly text format.
- test.sh: converts from WebAssembly text to WebAssembly binary formats, starts http-server in the current directory and opens index.html in your default browser.