97 Commits

Author SHA1 Message Date
dcode
36040d5b53 Update dist files 2019-04-08 08:23:18 +02:00
Daniel Wirtz
5b58b9aa8d
Update Binaryen to latest (#571) 2019-04-08 08:18:21 +02:00
dcode
b2adf8b1e2 Update dependencies and rebuild dist files 2019-03-27 15:50:05 +01:00
Max Graey
6de4847356 Fix postinstall script (#538) 2019-03-11 20:00:18 +01:00
dcode
cdec865bef Update Binaryen to latest nightly 2019-03-08 16:19:46 +01:00
dcode
c835b5fb40 Update dependencies and rebuild dist files 2019-03-08 14:28:45 +01:00
Daniel Wirtz
252b843c4b
General cleanup (#525)
* Cleans up and trims the overly large builtins file by ~1600 lines
* Properly propagate inline assembler-like argument types
* Use https in examples
* Reformat README
2019-03-08 14:24:48 +01:00
dcode
7184db6dde Update Binaryen to latest and regenerate dist files 2019-02-28 18:26:04 +01:00
Daniel Wirtz
1ae7d03e8c
Enable source maps out of the box (#519) 2019-02-28 17:37:30 +01:00
dcode
4be78147e6 Update dependencies and dist files 2019-02-21 23:04:41 +01:00
Daniel Wirtz
0c64f21250
Rework resolver (#489)
* Rework IR and resolver to use nested lookup tables
* Integrate types into IR
* Make components prefer IR, slimmed down AST
* Implement `export *`
* Add `@lazy` annotation and remove `--noTreeShaking`
* Add `@start` annotation and remove magic `main`
* Related refactoring, cleanup and docs
2019-02-21 00:11:22 +01:00
Daniel Wirtz
f551bc78e1
Implement bulk memory operations (#467) 2019-02-07 11:40:23 +01:00
dcode
01cade13f9 Update other dependencies 2019-02-05 17:55:12 +01:00
dcode
cd1cfe6957 Update Binaryen to latest and rebuild dist files 2019-02-05 17:12:10 +01:00
dcode
20f4092eb2 Update Binaryen and other dependencies; Update dist files 2019-01-09 13:02:47 +01:00
dcodeIO
a661ff7d89 Update Binaryen to latest 2018-12-01 03:09:43 +01:00
dcodeIO
b723ff3e88 Update Binaryen to latest 2018-11-22 17:15:22 +01:00
dcodeIO
4f95dce6e2 Do not emit debug info by default
This basically flips the --noDebug flag to become a --debug flag, so some optimizations, like inlining, aren't skipped by default, which might be unexpected.
2018-11-09 12:28:10 +01:00
dcodeIO
c6447e3c3b Update dependencies and tackle package-lock weirdness, fixes #319, fixes #321 2018-11-08 08:16:16 +01:00
Daniel Wirtz
2bdc2a72f1
Use stack IR when emitting text format (#312) 2018-11-08 08:04:24 +01:00
Sylvain Corsini
c4d7764851 Add lib/loader/ to package.json (#273) 2018-10-20 12:39:59 +02:00
Daniel Wirtz
f7c734789e
Update Binaryen to latest; Various fixes 2018-10-11 08:49:08 +02:00
dcodeIO
d90cd085e5 Update Binaryen 2018-09-13 23:10:49 +02:00
dcodeIO
4498b28442 Use outer-most identifier when resolving queued exports, fixes #248 2018-09-09 03:51:29 +02:00
dcodeIO
c769f65bac Move 'glob' dependency to production for now, fixes #205 2018-08-04 15:41:01 +02:00
Daniel Wirtz
dc0f271fc2
Initial GC integration (#196) 2018-08-02 18:23:02 +02:00
dcodeIO
f56face188 Slim down CI stages 2018-07-19 23:10:30 +02:00
dcodeIO
a1b75b69b7 Rename memory instructions; Rework constant handling 2018-07-18 23:49:32 +02:00
dcodeIO
72cb1e9008 Update dependencies; Regenerate dist files 2018-07-14 00:13:52 +02:00
dcodeIO
c4ebc8c291 Fix missing dependency in asc, see #157; Downgrade ts-node to v6 2018-07-04 21:47:58 +02:00
dcodeIO
5ca5df3dc7 Restructure types; Add a use-case specific options parser; Allow (re)creation of specific parser fixtures 2018-07-03 03:06:01 +02:00
dcodeIO
55a8e677c6 Update dependencies 2018-06-28 18:31:19 +02:00
dcodeIO
9c16363796 Initial external decorator for annotating explicit import names; Use file name as default module name in imports; Emit empty memory if there are no static segments; Update TLSF and examples accordingly 2018-06-28 01:44:32 +02:00
dcodeIO
e8c8b20ca4 Update Binaryen 2018-06-15 03:15:18 +02:00
dcodeIO
24d3371735 Update dependencies 2018-06-14 16:23:37 +02:00
dcodeIO
e18165bbbc Remove chalk dependency and replace it with something simpler, fixes #138 2018-06-12 18:34:39 +02:00
dcodeIO
c6ec5e2832 Utilize Binaryen's -O4
When specifying -O3 or -Oz, asc now automatically increases the optimize level to 4, then including costly non-LLVM optimizations for blocky code, in turn achieving similar results as an LLVM-based generator.
2018-06-09 14:05:33 +02:00
dcodeIO
cea69a6de1 Unify operator overloading and reuse arguments where possible; Update Binaryen; Update dist files 2018-06-05 23:09:08 +02:00
dcodeIO
c9ed03028d Add CLI definitions; CLI restructure 2018-05-28 18:55:51 +02:00
dcodeIO
e049e72171 Fix a few issues with TSD generation; Update Binaryen 2018-05-21 10:31:00 +02:00
dcodeIO
6c0a5c47d9 Update Binaryen and take care of WebAssembly/binaryen#1547 2018-05-14 16:55:55 +02:00
dcodeIO
ef9b43740d Eliminate leftover temporary function types using latest Binaryen 2018-05-09 16:33:42 +02:00
dcodeIO
1bf0ca6525 Add a mechanism to enable additional (experimental) features and start with sign extension operations; Hashing experimentation 2018-05-08 00:36:19 +02:00
dcodeIO
2f8f477ab0 Update dist files; Unify some examples 2018-05-06 01:32:58 +02:00
Daniel Wirtz
50f6c1c460
Update internal ABI to zero/sign-extend where necessary only (#87) 2018-05-06 00:00:54 +02:00
Max Graey
8997561670 Update dependencies (#93) 2018-05-03 18:25:32 +02:00
dcodeIO
2aea14b518 Add more inline-assembler-ish builtins; Update Binaryen 2018-04-27 19:12:25 +02:00
dcodeIO
06f99406be Experimenting with inline-assembler-ish explicit builtins
Starting with explicit loads and stores as part of the respective type namespaces. Might become handy for use with portable code, because these can be polyfilled, while load<T> and store<T> can't.
2018-04-27 00:08:41 +02:00
dcodeIO
78a679759a Update dependencies 2018-04-13 15:31:23 +02:00
dcodeIO
59a22c1842 A little 'asinit' CLI tool for quickly setting up a project; Minor refactoring 2018-04-01 23:46:41 +02:00