mirror of
https://github.com/encounter/wasmtime.git
synced 2026-03-30 11:42:15 -07:00
f85b8c5146
* add: assemblyscript wasi demo * refactor: assemblyscript-hello-world * finalize changes * edit .gitignore * add README * Add proper documentation
AssemblyScript WASI Demo
This demo shows some WASI features off such as System Time, User Input, Writing to the Console, and Random Numbers.
The module @assemblyscript/wasi-shim as well as a wasi-enabled runtime are required.
Setup
Navigate to ./docs/assemblyscript_demo and run
npm install
Build the AssemblyScript demo file
npm run build
Run the WASI Demo
npm run demo