mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
21 lines
443 B
Markdown
21 lines
443 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 `.wast` representations, run:
|
||
|
|
||
|
```
|
||
|
$> npm run build
|
||
|
```
|
||
|
|
||
|
Afterwards, to run the included [test](./tests/index.js):
|
||
|
|
||
|
```
|
||
|
$> npm install
|
||
|
$> npm test
|
||
|
```
|