24 Commits

Author SHA1 Message Date
dcodeIO
2df318a7ec Implicitly alias stdlib exports as program globals, see #8 2018-01-12 15:36:17 +01:00
dcodeIO
ae99adefce Better resolve infrastructure; Instance fields 2018-01-03 18:33:27 +01:00
dcodeIO
2888ba14ad PSON decoder example using namespaced imports 2017-12-30 05:11:58 +01:00
dcodeIO
c67f87a988 Update binaryen.js and enable tee optimizations 2017-12-29 04:42:20 +01:00
dcodeIO
4207f6460d Warn on constant locals not being actual constants; Simplify changetype 2017-12-28 17:16:37 +01:00
dcodeIO
2ed3c22031 Cleanup: Make use of type inference and use 'var' in functions to match actual WebAssembly semantics 2017-12-28 04:09:40 +01:00
dcodeIO
4baff99125 Refactoring; Add tslint fwiw 2017-12-24 03:19:47 +01:00
dcodeIO
9632777842 Type declaration parsing; Future feature references 2017-12-19 17:49:15 +01:00
dcodeIO
c6c36613e6 Accessor parsing; Cleanup 2017-12-14 11:55:35 +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
b5cc2f9924 Fix unsigned ops; Fix parenthesized conversion; Minor restructure 2017-12-11 18:46:11 +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
732068e981 Add trapMode option to asc; Disable flatten/ssa passes for now 2017-12-09 02:38:17 +01:00
dcodeIO
bbc71ebe81 More options for asc; asm.js output 2017-12-09 00:45:12 +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
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
81844a1fe7 Update binaryen 2017-12-05 15:28:01 +01:00
dcodeIO
df3e34f2aa More options for asc 2017-12-04 19:26:50 +01:00
dcodeIO
c6af2d1454 Implement ternary using if, see AssemblyScript/assemblyscript#123 2017-12-04 14:49:24 +01:00
dcodeIO
017efc71b6 Fixes; Builtins; Testing in the interpreter 2017-12-03 23:04:33 +01:00
dcodeIO
ef859937a8 Better testing infrastructure; Initial exports/imports/re-exports 2017-12-02 01:14:15 +01:00
dcodeIO
df637164a6 Cleanup 2017-11-26 04:03:28 +01:00