539 Commits

Author SHA1 Message Date
dcodeIO
da672e2ca6 Add memcpy compiler test 2017-12-08 16:11:58 +01:00
dcodeIO
bbb57baecb changetype builtin; some namespace parsing; more stdlib ideas; compiler options for asc 2017-12-08 04:03:44 +01:00
dcodeIO
59dafc8d22 Some thoughts on an initial stdlib to get things going 2017-12-07 04:37:14 +01:00
dcodeIO
325ecf5165 Conway's Game of life compiler test incl. html 2017-12-07 02:02:22 +01:00
dcodeIO
d9ad42ed2e Also create optimized & inlined wasts for comparison 2017-12-06 23:54:16 +01:00
dcodeIO
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
dcodeIO
d63ed925a9 Add unfinished TLSF as test case fwiw 2017-12-06 19:33:48 +01:00
dcodeIO
29468846ab Unified continue/break labels with binaryen labels; Module-level global exports 2017-12-06 17:47:48 +01:00
dcodeIO
f045975a4b Built-in abs/min/max for integers; For-loop fixes 2017-12-05 22:47:20 +01:00
dcodeIO
81844a1fe7 Update binaryen 2017-12-05 15:28:01 +01:00
dcodeIO
330752908a Implement asc in js for dist 2017-12-05 15:06:44 +01:00
dcodeIO
df212653a8 Add webpack; Setup instructions 2017-12-05 13:35:14 +01:00
dcodeIO
40b814ac73 Refactored builtins 2017-12-05 01:45:15 +01:00
dcodeIO
b7030d4dea reinterpret and select builtins 2017-12-04 22:47:08 +01:00
dcodeIO
df3e34f2aa More options for asc 2017-12-04 19:26:50 +01:00
dcodeIO
0e6bfa45f8 Type-aware && and || 2017-12-04 16:26:34 +01:00
dcodeIO
c6af2d1454 Implement ternary using if, see AssemblyScript/assemblyscript#123 2017-12-04 14:49:24 +01:00
dcodeIO
558a4d5c63 Initial asc 2017-12-04 04:14:57 +01:00
dcodeIO
63a67e7c67 sizeof, load and store builtins 2017-12-04 02:00:48 +01:00
dcodeIO
017efc71b6 Fixes; Builtins; Testing in the interpreter 2017-12-03 23:04:33 +01:00
dcodeIO
032ae379cd Unary postfix fixes 2017-12-03 01:18:35 +01:00
dcodeIO
eaf9253b96 Initial module level function exports 2017-12-02 23:33:01 +01:00
dcodeIO
9e053f311e Add CI 2017-12-02 20:58:39 +01:00
dcodeIO
b9edfb5185 More tests and fixes (unary, binary, globals) 2017-12-02 18:37:59 +01:00
dcodeIO
ef859937a8 Better testing infrastructure; Initial exports/imports/re-exports 2017-12-02 01:14:15 +01:00
dcodeIO
00303fdf30 Keep builtins in assembly.d.ts, not really stdlib 2017-12-01 02:18:36 +01:00
dcodeIO
c0300c1e18 Initial builtins 2017-12-01 02:08:03 +01:00
dcodeIO
28600bbeb7 Add test scripts to package 2017-11-29 00:24:14 +01:00
dcodeIO
bad5175a55 Fixed for-loop parsing 2017-11-29 00:18:14 +01:00
dcodeIO
df637164a6 Cleanup 2017-11-26 04:03:28 +01:00
dcodeIO
dc74dd118d Initial function calls 2017-11-20 23:39:50 +01:00
dcodeIO
d3d4938b68 Progress 2017-11-17 14:33:51 +01:00
dcodeIO
d1c1178f25 Program elements and resolve infrastructure; Stdlib ideas; Restructuring 2017-10-19 18:55:27 +02:00
dcodeIO
6e98c52f76 Cleanup; Initial switch support; Relooper interface fwiw 2017-10-11 17:03:22 +02:00
dcodeIO
50116acede Progress 2017-10-07 14:29:43 +02:00
dcodeIO
f55fc70220 Progress; Restructuring 2017-10-02 12:52:15 +02:00
dcodeIO
e14d02e040 Resolve exports and imports; Initial work on binary and unary ops 2017-09-29 17:25:02 +02:00
dcodeIO
2e611610f2 Added license 2017-09-29 17:22:15 +02:00
dcodeIO
1d53303b47 Initial commit 2017-09-28 13:08:25 +02:00