Files

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