19 Commits

Author SHA1 Message Date
dcodeIO
9cdfa35938 Initial implementation if ugc, see #16; Fix tests 2018-01-18 01:48:03 +01:00
dcodeIO
fc777b3a89 Builtins rewrite with type parameter inference; Small integer math optimizations; Switchify 2018-01-10 13:09:05 +01:00
dcodeIO
7e9b58428b Always compile globals because initializers might have side effects 2018-01-04 06:00:42 +01:00
dcodeIO
2888ba14ad PSON decoder example using namespaced imports 2017-12-30 05:11:58 +01:00
dcodeIO
ba61a5e414 Getters & setters (static); Instantiate compiler tests; Cleanup 2017-12-27 02:37:53 +01:00
dcodeIO
2720515982 More stdlib setup 2017-12-16 17:54:53 +01:00
dcodeIO
85a9fb1eb5 Stdlib preparations 2017-12-16 02:27:39 +01:00
dcodeIO
4b3cc981a6 Portable conversions 2017-12-15 17:23:04 +01:00
dcodeIO
7cf879fb4b Type limits 2017-12-15 15:00:19 +01:00
dcodeIO
99b0fdf7a8 Namespaces 2017-12-13 23:24:13 +01:00
dcodeIO
ad1fbcf5b2 A first take on imported built-ins 2017-12-12 01:35:48 +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
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
29468846ab Unified continue/break labels with binaryen labels; Module-level global exports 2017-12-06 17:47:48 +01:00
dcodeIO
b7030d4dea reinterpret and select builtins 2017-12-04 22:47:08 +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
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