63 Commits

Author SHA1 Message Date
dcodeIO
b69c07af45 Reference the wiki 2017-12-14 16:50:59 +01:00
dcodeIO
6bea116b3e Integrate examples into tests 2017-12-14 12:30:58 +01:00
dcodeIO
c6c36613e6 Accessor parsing; Cleanup 2017-12-14 11:55:35 +01:00
dcodeIO
99b0fdf7a8 Namespaces 2017-12-13 23:24:13 +01:00
dcodeIO
7d85b0cc7f Cleanup 2017-12-13 04:46:05 +01:00
dcodeIO
ce57820f59 Is it a strawberry, see boyanio/wasm-wheel#2 2017-12-13 00:11:45 +01:00
dcodeIO
3d544c2fe5 Slight restructure 2017-12-12 16:08:54 +01:00
dcodeIO
c8680b1e77 More smarter temp locals 2017-12-12 09:38:20 +01:00
dcodeIO
f75b962c74 Smarter temp locals; Less binaryen boilerplate 2017-12-12 09:32:03 +01:00
dcodeIO
7a5f7dba50 Monday night decompiler shenenigans 2017-12-12 04:35:30 +01:00
dcodeIO
ad1fbcf5b2 A first take on imported built-ins 2017-12-12 01:35:48 +01:00
dcodeIO
09cbad6ede Add i64 polyfill example 2017-12-11 22:04:30 +01:00
dcodeIO
7e93618384 Link relevant files to examples 2017-12-11 18:56:32 +01:00
dcodeIO
b5cc2f9924 Fix unsigned ops; Fix parenthesized conversion; Minor restructure 2017-12-11 18:46:11 +01:00
dcodeIO
b5ffaf36cd Portable not-so-smart Heap 2017-12-11 03:31:35 +01:00
dcodeIO
d0b189b437 CString/CArray was an illusion; Update and test tsconfig files 2017-12-11 02:03:15 +01:00
dcodeIO
0228ab91d9 Minor restructure and fixes; README; Proposed binaryen additions 2017-12-10 21:59:45 +01:00
dcodeIO
5ff88e126e Support compiling multiple entry files 2017-12-09 02:52:20 +01:00
dcodeIO
732068e981 Add trapMode option to asc; Disable flatten/ssa passes for now 2017-12-09 02:38:17 +01:00
dcodeIO
6d8de50565 Update binaryen; Replace uses of Math.* with portable built-ins 2017-12-09 01:35:18 +01:00
dcodeIO
bbc71ebe81 More options for asc; asm.js output 2017-12-09 00:45:12 +01:00
dcodeIO
64516eecfb Add wast generated by wasm-opt 2017-12-08 21:31:34 +01:00
dcodeIO
0ebb99a33c Extract portable AS to its own definition and polyfill; Try running flatten/ssa before default optimizations, see WebAssembly/binaryen#1331 2017-12-08 19:08:03 +01:00
dcodeIO
d6b94d4c33 Things the optimizer does not catch 2017-12-08 16:31:42 +01:00
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