Skip to content

Commit 349de60

Browse files
committed
First pass on a programmatic asc API
1 parent 44375a4 commit 349de60

File tree

4 files changed

+389
-354
lines changed

4 files changed

+389
-354
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/asc text eol=lf

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ A few early examples to get an idea:
1919
Exposes WebAssembly's i64 operations to JavaScript using 32-bit integers (low and high bits).
2020

2121
* **[PSON decoder](./examples/pson)**<br />
22-
A PSON decoder implemented in AssemblyScript.
22+
A simple decoder for the PSON binary format.
2323

2424
* **[TLSF memory allocator](./examples/tlsf)**<br />
25-
An implementation of the TLSF memory allocator in AssemblyScript.
25+
An implementation of the TLSF memory allocator.
2626

2727
* **[μgc garbage collector](./examples/ugc)**<br />
28-
A port of μgc to AssemblyScript.
28+
A port of the μgc garbage collector library.
2929

3030
Or browse the [compiler tests](./tests/compiler) for a more in-depth overview of what's supported already. One of them is a [showcase](./tests/compiler/showcase.ts).
3131

bin/asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env node
2-
require("./asc.js");
2+
require("./asc.js").main(process.argv.slice(2));

0 commit comments

Comments
 (0)