dcodeIO
a79db87af9
Fix parsing of properties and field names using semi-reserved keywords
2018-11-13 08:48:10 +01:00
dcodeIO
585d246165
Fix infinite loop when skipping statements, see #167
2018-07-10 17:38:03 +02:00
dcodeIO
c74eed2bd8
Add initial std Symbol; Fix some type inference issues
2018-06-21 19:42:18 +02:00
dcodeIO
0054eae491
Handle numeric separators in integer literals while tokenizing
2018-06-02 13:39:24 +02:00
dcodeIO
9d25f78fc1
Implement 'this' context parsing and serialization; Other minor improvements
2018-05-30 16:22:56 +02:00
Alan Pierce
5ab81a00a1
Allow keywords in named import/export syntax ( #107 )
2018-05-13 13:26:12 +02:00
dcodeIO
e415377cda
Avoid trampolines where optional arguments are constant literals, see #102 ; Fix temporary local flags not being cleared; Fix inlined temporary locals not being free'd; Fix inlined flows not breaking after returns; Allow changetype of u32s, i.e. function pointers
2018-05-11 16:31:56 +02:00
dcodeIO
2ff1bb745a
Fix some diagnostic issues when skipping invalid statements, see #80 ; Make game-of-life example somewhat interactive; Update dist files
2018-04-22 23:13:02 +02:00
Daniel Wirtz
623597c23a
Make the transition to ArrayBuffer backed Arrays ( #70 )
...
* Traverse base classes when resolving overloads
* Implement preliminary TypedArray accessors
* Extract decorator flags from common flags to make space
* Add '**' overload
* Implement basic explicit inlining
* Support inlining of instance methods
* Reduce number of required locals when inlining
* Implement inlining of operator overloads
* Fix issues when inlining generic functions
2018-04-11 23:35:19 +02:00
dcodeIO
e26734ef90
Implement Math/Mathf.exp; Initial math test suite
2018-03-25 17:42:56 +02:00
dcodeIO
0fef69e445
Set up documentation generation
2018-03-19 01:12:18 +01:00
dcodeIO
5eb10d404f
Document the purpose of most files
2018-03-17 23:41:48 +01:00
dcodeIO
d45eb93df6
Allow intercepting comments when tokenizing
...
It appears that this isn't necessary for the compiler at this point, but might be good to have for future tooling.
2018-03-17 19:41:48 +01:00
dcodeIO
faac3c31eb
AST cleanup; Definition generators scaffolding
2018-03-17 01:37:05 +01:00
dcodeIO
8e7bad7459
Reduce unnecessary diagnostic noise
2018-03-14 15:31:50 +01:00
dcodeIO
23a7db4dc3
Ensure consistent variable modifiers
...
'var' is a distinct local or mutable global, 'let' a shared local
2018-03-13 02:32:10 +01:00
Daniel Wirtz
423533c6b0
Implement function types / indirect calls / trampolines ( #39 )
2018-03-12 14:06:39 +01:00
dcodeIO
02dce5a518
Add importMemory option to asc, see #36
2018-02-28 18:38:42 +01:00
dcodeIO
8dc517e352
Cleanup; Initial tslint integration
2018-02-25 00:13:39 +01:00
dcodeIO
b1c6ccab2a
Use long.js in JS and native i64 in WASM; Compile literals more thoroughly
2018-02-14 09:18:43 +01:00
dcodeIO
4736227879
Update binaryen to latest nightly; Source map support
2018-02-02 03:07:54 +01:00
dcodeIO
b1e7b75ad7
Static operator overloads
2018-01-28 06:18:27 +01:00
dcodeIO
5d76ba9437
Wire assertions to global abort, see #8
2018-01-27 16:23:00 +01:00
dcodeIO
d1fed692f6
Moved AST serialization to extra (not ultimately needed by asc)
2018-01-15 19:00:18 +01:00
dcodeIO
f2ba4b4a76
Filler implementation for std Set
2018-01-15 00:08:06 +01:00
dcodeIO
3980e53bb7
Let the optimizer decide what it takes to become a select
2018-01-12 05:03:25 +01:00
dcodeIO
fc777b3a89
Builtins rewrite with type parameter inference; Small integer math optimizations; Switchify
2018-01-10 13:09:05 +01:00
dcodeIO
0de05b543b
Harden regexp parsing a bit
2018-01-07 18:15:21 +01:00
dcodeIO
7c8670ac35
Regexp literal support; Properly resolve statically inherited members
2018-01-07 15:07:46 +01:00
dcodeIO
1221ff129d
More built-in constants; Get/set parsing fixes; I64.toF64 fixes
2018-01-02 21:41:25 +01:00
dcodeIO
3add4624c5
Initial instance methods and field layout; More cleanup
2018-01-01 20:27:21 +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
ad298c7bea
Asterisk imports parsing; Pussyfooting around stdlib
2017-12-23 00:48:54 +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
c6c36613e6
Accessor parsing; Cleanup
2017-12-14 11:55:35 +01:00
dcodeIO
b5cc2f9924
Fix unsigned ops; Fix parenthesized conversion; Minor restructure
2017-12-11 18:46:11 +01:00
dcodeIO
325ecf5165
Conway's Game of life compiler test incl. html
2017-12-07 02:02:22 +01:00
dcodeIO
ef859937a8
Better testing infrastructure; Initial exports/imports/re-exports
2017-12-02 01:14:15 +01:00
dcodeIO
d1c1178f25
Program elements and resolve infrastructure; Stdlib ideas; Restructuring
2017-10-19 18:55:27 +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
1d53303b47
Initial commit
2017-09-28 13:08:25 +02:00