Commit Graph

27 Commits

Author SHA1 Message Date
dc0f271fc2 Initial GC integration (#196) 2018-08-02 18:23:02 +02:00
a1b75b69b7 Rename memory instructions; Rework constant handling 2018-07-18 23:49:32 +02:00
c636eddcd2 Legalize casting object literals to classes when linting 2018-07-14 15:00:07 +02:00
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
27e61f8f67 Remove noMemory option; Omit 'start' if 'main' is present; Unwrap more unnecessary blocks 2018-06-27 19:03:39 +02:00
e18165bbbc Remove chalk dependency and replace it with something simpler, fixes #138 2018-06-12 18:34:39 +02:00
f2eb64c0fd Add conditional BigInt support to loader & minor README fixes 2018-06-11 15:18:13 +02:00
c9ed03028d Add CLI definitions; CLI restructure 2018-05-28 18:55:51 +02:00
e049e72171 Fix a few issues with TSD generation; Update Binaryen 2018-05-21 10:31:00 +02:00
98a0aa863d Initial loader that unifies utils and demangle 2018-05-19 13:38:47 +02:00
d678807286 Initial demangler implementation, i.e. for use with TypeScript definitions 2018-05-17 11:59:35 +02:00
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
5e20bed09a Unify / simplify asc API (in browsers) 2018-04-04 14:39:40 +02:00
acfef646ef Update dist files; Also parse name and source mapping sections in lib/parse 2018-04-04 03:41:04 +02:00
5823e35f37 Progress and a tiny WASM binary parser 2018-04-03 23:56:48 +02:00
38a025950e Support parameter properties; Minor formatting 2018-03-25 00:21:58 +01:00
faac3c31eb AST cleanup; Definition generators scaffolding 2018-03-17 01:37:05 +01:00
507482adb2 Pull more (possibly) repeated loads to locals 2018-03-14 00:27:35 +01:00
081ac768ae Give some love to the linter 2018-03-13 14:03:57 +01:00
23a7db4dc3 Ensure consistent variable modifiers
'var' is a distinct local or mutable global, 'let' a shared local
2018-03-13 02:32:10 +01:00
423533c6b0 Implement function types / indirect calls / trampolines (#39) 2018-03-12 14:06:39 +01:00
8dc517e352 Cleanup; Initial tslint integration 2018-02-25 00:13:39 +01:00
77e49bbd95 Replace more .wast references with .wat 2018-02-19 19:16:16 +01:00
41c0f2c6c3 Test formatting; Wire webpack loader to asc 2018-02-05 17:10:14 +01:00
4736227879 Update binaryen to latest nightly; Source map support 2018-02-02 03:07:54 +01:00
1995bf9eb4 Parser fixes; Lib updates 2018-01-29 22:36:07 +01:00
74498852f0 Utilities and an initial webpack loader 2018-01-29 17:12:02 +01:00