dcodeIO
d0244a9b0f
Add an error for missing initializers on default params, fixes #121 ; Fix detection of terminated switch cases and improve tests, fixes #122
2018-05-27 12:24:16 +02:00
Alan Pierce
558ed78cc9
Add a more helpful error message when you haven't defined an allocator ( #108 )
...
Also adds a system for writing tests that assert that certain error codes are triggered so that I could test this.
2018-05-22 12:09:05 +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
06198a3723
Rename lib prefix to '~lib' (parens aren't valid); Add built-in alignof<T>; Prepare for ArrayBufferView
2018-04-02 19:05:26 +02:00
dcodeIO
38a025950e
Support parameter properties; Minor formatting
2018-03-25 00:21:58 +01:00
dcodeIO
664f2a1c0d
Add offsetof<T> builtin; Put a function's trampoline into the function table if a it has optional parameters; TypedArray scaffolding
2018-03-24 00:38:49 +01:00
dcodeIO
4adb69f73a
Binary expression operator overloads for +/==; Check allocation flow in ternary expressions; Cache empty array buffers; Sealed decorator for non-derivable internals
2018-03-23 12:45:29 +01:00
dcodeIO
49f4d3dff1
Eliminate @builtin
decorator for compatibility with TS
2018-03-21 16:29:08 +01:00
dcodeIO
0fef69e445
Set up documentation generation
2018-03-19 01:12:18 +01:00
dcodeIO
faac3c31eb
AST cleanup; Definition generators scaffolding
2018-03-17 01:37:05 +01:00
dcodeIO
02dce5a518
Add importMemory option to asc, see #36
2018-02-28 18:38:42 +01:00
dcodeIO
d4c00eaba3
Revised implicit type conversions; Initial function expression compilation
2018-02-28 01:48:01 +01:00
dcodeIO
8dc517e352
Cleanup; Initial tslint integration
2018-02-25 00:13:39 +01:00
dcodeIO
ad92d91f01
Move built-in declarations to actual sources; Remove declaration is null checks; Resolve calls
2018-02-09 02:31:48 +01:00
dcodeIO
b1e7b75ad7
Static operator overloads
2018-01-28 06:18:27 +01:00
dcodeIO
de066fc128
Preliminary strings
...
While not well-wrought, it's at least possible now to log some stuff when debugging
2018-01-27 05:35:14 +01:00
dcodeIO
b548b5c81f
Properly resolve enum value siblings
2018-01-24 03:08:09 +01:00
dcodeIO
64c939fdc4
Initial implementation of 'new'
...
This doesn't yet call the constructor or use provided parameters and just allocates raw memory
2018-01-19 16:13:14 +01:00
dcodeIO
ef7a095494
Report if a function isn't guaranteed to return
2018-01-19 04:16:18 +01:00
dcodeIO
2c009c67d3
Initial element access compilation; Carefully approaching std array
2018-01-13 23:38:07 +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
50dea3b1df
Basic initial inheritance
2018-01-04 01:36:26 +01:00
dcodeIO
3add4624c5
Initial instance methods and field layout; More cleanup
2018-01-01 20:27:21 +01:00
dcodeIO
4207f6460d
Warn on constant locals not being actual constants; Simplify changetype
2017-12-28 17:16:37 +01:00
dcodeIO
ba61a5e414
Getters & setters (static); Instantiate compiler tests; Cleanup
2017-12-27 02:37:53 +01:00
dcodeIO
85a9fb1eb5
Stdlib preparations
2017-12-16 02:27:39 +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
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
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
c0300c1e18
Initial builtins
2017-12-01 02:08:03 +01:00
dcodeIO
dc74dd118d
Initial function calls
2017-11-20 23:39:50 +01:00
dcodeIO
d3d4938b68
Progress
2017-11-17 14:33:51 +01:00
dcodeIO
d1c1178f25
Program elements and resolve infrastructure; Stdlib ideas; Restructuring
2017-10-19 18:55:27 +02:00
dcodeIO
6e98c52f76
Cleanup; Initial switch support; Relooper interface fwiw
2017-10-11 17:03:22 +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