toilscript
v0.1.47
Published
A TypeScript-like language for WebAssembly.
Downloads
7,201
Maintainers
Readme
ToilScript
ToilScript is a fork of AssemblyScript that tracks the latest upstream and adds language features not yet available in the official release.
Installation
npm install toilscriptUsage
This fork is a drop-in replacement for ToilScript. Simply replace your import:
{
"dependencies": {
"toilscript": "^0.1.0"
}
}Or if migrating from official ToilScript:
npm uninstall toilscript
npm install toilscriptThe CLI is toilscript (with toilinit to scaffold a project):
npx toilscript your-file.ts --outFile output.wasmDevelopment instructions
A development environment can be set up by cloning the repository:
git clone https://github.com/dacely-cloud/toilscript.git
cd toilscript
npm install
npm linkThe link step is optional and makes the development instance available globally. The full process is documented as part of the repository:
