You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
JairusSW f85b8c5146
Update and Refactor docs/assemblyscript-hello-world. Add WASI Demo in docs/assemblyscript_demo. (#5949)
1 year ago
..
.gitignore Update and Refactor docs/assemblyscript-hello-world. Add WASI Demo in docs/assemblyscript_demo. (#5949) 1 year ago
README.md Update and Refactor docs/assemblyscript-hello-world. Add WASI Demo in docs/assemblyscript_demo. (#5949) 1 year ago
asconfig.json Update and Refactor docs/assemblyscript-hello-world. Add WASI Demo in docs/assemblyscript_demo. (#5949) 1 year ago
package.json Update and Refactor docs/assemblyscript-hello-world. Add WASI Demo in docs/assemblyscript_demo. (#5949) 1 year ago
tsconfig.json Update and Refactor docs/assemblyscript-hello-world. Add WASI Demo in docs/assemblyscript_demo. (#5949) 1 year ago
wasi-demo.ts Update and Refactor docs/assemblyscript-hello-world. Add WASI Demo in docs/assemblyscript_demo. (#5949) 1 year ago

README.md

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