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
|
1 year ago | |
---|---|---|
.. | ||
.gitignore | 1 year ago | |
README.md | 1 year ago | |
asconfig.json | 1 year ago | |
package.json | 1 year ago | |
tsconfig.json | 1 year ago | |
wasi-demo.ts | 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