Commit Graph

527 Commits

Author SHA1 Message Date
9ae3328e58 Precompute and inline constant globals
This is necessary so that other constant globals referencing constant globals can be precomputed as well (NON_STANDALONE_FLOW in binaryen)
2017-12-06 23:38:17 +01:00
d63ed925a9 Add unfinished TLSF as test case fwiw 2017-12-06 19:33:48 +01:00
29468846ab Unified continue/break labels with binaryen labels; Module-level global exports 2017-12-06 17:47:48 +01:00
f045975a4b Built-in abs/min/max for integers; For-loop fixes 2017-12-05 22:47:20 +01:00
330752908a Implement asc in js for dist 2017-12-05 15:06:44 +01:00
40b814ac73 Refactored builtins 2017-12-05 01:45:15 +01:00
b7030d4dea reinterpret and select builtins 2017-12-04 22:47:08 +01:00
df3e34f2aa More options for asc 2017-12-04 19:26:50 +01:00
0e6bfa45f8 Type-aware && and || 2017-12-04 16:26:34 +01:00
c6af2d1454 Implement ternary using if, see AssemblyScript/assemblyscript#123 2017-12-04 14:49:24 +01:00
63a67e7c67 sizeof, load and store builtins 2017-12-04 02:00:48 +01:00
017efc71b6 Fixes; Builtins; Testing in the interpreter 2017-12-03 23:04:33 +01:00
032ae379cd Unary postfix fixes 2017-12-03 01:18:35 +01:00
eaf9253b96 Initial module level function exports 2017-12-02 23:33:01 +01:00
9e053f311e Add CI 2017-12-02 20:58:39 +01:00
b9edfb5185 More tests and fixes (unary, binary, globals) 2017-12-02 18:37:59 +01:00
ef859937a8 Better testing infrastructure; Initial exports/imports/re-exports 2017-12-02 01:14:15 +01:00
c0300c1e18 Initial builtins 2017-12-01 02:08:03 +01:00
28600bbeb7 Add test scripts to package 2017-11-29 00:24:14 +01:00
bad5175a55 Fixed for-loop parsing 2017-11-29 00:18:14 +01:00
df637164a6 Cleanup 2017-11-26 04:03:28 +01:00
d3d4938b68 Progress 2017-11-17 14:33:51 +01:00
6e98c52f76 Cleanup; Initial switch support; Relooper interface fwiw 2017-10-11 17:03:22 +02:00
50116acede Progress 2017-10-07 14:29:43 +02:00
f55fc70220 Progress; Restructuring 2017-10-02 12:52:15 +02:00
e14d02e040 Resolve exports and imports; Initial work on binary and unary ops 2017-09-29 17:25:02 +02:00
1d53303b47 Initial commit 2017-09-28 13:08:25 +02:00