mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-28 00:12:15 +00:00
21 lines
444 B
Markdown
21 lines
444 B
Markdown
μgc garbage collector
|
|
=====================
|
|
|
|
A port of [Bach Le's μgc garbage collector library](https://github.com/bullno1/ugc) to AssemblyScript.
|
|
|
|
Instructions
|
|
------------
|
|
|
|
To build [assembly/ugc.ts](./assembly/ugc.ts) to an untouched and an optimized `.wasm` including their respective `.wat` representations, run:
|
|
|
|
```
|
|
$> npm run asbuild
|
|
```
|
|
|
|
Afterwards, to run the included [test](./tests/index.js):
|
|
|
|
```
|
|
$> npm install
|
|
$> npm test
|
|
```
|