Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rggh/wazz
wat to wasm
https://github.com/rggh/wazz
wasm wat
Last synced: 29 days ago
JSON representation
wat to wasm
- Host: GitHub
- URL: https://github.com/rggh/wazz
- Owner: RGGH
- Created: 2024-11-08T09:54:55.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-08T10:06:32.000Z (about 1 month ago)
- Last Synced: 2024-11-23T06:15:47.260Z (29 days ago)
- Topics: wasm, wat
- Language: HTML
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## minimalist WASM from .wat
- install wat2wasm
- https://webassembly.github.io/wabt/demo/wat2wasm/
- make .wat file
- convert to wasm
- call from js (put the inside index.html)
```wat2wasm calc.wat -o rectangle_area.wasm```run http-server and open link in browser:
![image](https://github.com/user-attachments/assets/97f10ae1-1678-491e-a91f-63355849d608)