ToilScript is a fork of AssemblyScript that tracks the latest upstream and adds language features not yet available in the official release.
npm install toilscriptThis 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.wasmA 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: