85 Commits

Author SHA1 Message Date
dcodeIO
2f12c7fa50 Fix local type being possibly null 2017-12-28 15:20:37 +01:00
dcodeIO
8d894d0827 Make sure constant locals are inlined, see #6 2017-12-28 15:17:35 +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
7795d48d98 Namespaced imports 2017-12-27 22:38:32 +01:00
dcodeIO
eccac129ad Search parent namespaces when resolving identifiers 2017-12-27 19:17:29 +01:00
dcodeIO
ba61a5e414 Getters & setters (static); Instantiate compiler tests; Cleanup 2017-12-27 02:37:53 +01:00
dcodeIO
5c4bf1af76 Less prose; Update i64 example; More options for asc 2017-12-25 12:08:51 +01:00
dcodeIO
4baff99125 Refactoring; Add tslint fwiw 2017-12-24 03:19:47 +01:00
dcodeIO
d7c069b692 Get rid of determineExpressionType 2017-12-23 17:49:06 +01:00
dcodeIO
ca9c79185b Basic type inference 2017-12-23 13:48:04 +01:00
dcodeIO
ad298c7bea Asterisk imports parsing; Pussyfooting around stdlib 2017-12-23 00:48:54 +01:00
dcodeIO
a0ec684e1c Fix inclusion of stdlib in asc 2017-12-21 10:19:55 +01:00
dcodeIO
666ba54e42 Heap fill/compare; Std string experiments 2017-12-21 10:14:53 +01:00
dcodeIO
dd5c3e7a4e Type aliases 2017-12-20 13:36:39 +01:00
dcodeIO
9632777842 Type declaration parsing; Future feature references 2017-12-19 17:49:15 +01:00
dcodeIO
aa563a9a5a Cleanup; Documentation 2017-12-18 03:46:36 +01:00
dcodeIO
c70eb7792f Link globals into global scope instead 2017-12-16 20:08:33 +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
8085a02df3 Elements can be namespaces; Static properties and methods 2017-12-15 02:50:55 +01:00
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