650 Commits

Author SHA1 Message Date
dcode
40dd9252b3 Investigate custom try-catch support 2019-06-13 15:33:43 +02:00
dcode
9cc5608e5e Update dependencies and dist files 2019-06-12 18:38:33 +02:00
Max Graey
3af2603daa Add String#replace & String#replaceAll (#653) 2019-06-12 17:39:49 +02:00
Daniel Wirtz
d4313f1ed8
Use a special 'auto' type in type inference (#658) 2019-06-12 13:54:07 +02:00
Willem Wyndham
334d944f67 Added paths option to resolve stdlib imports in IDEs (#637) 2019-06-12 13:52:53 +02:00
Max Graey
f9a77b132f Fix parseInt routines after refactoring (#655) 2019-06-12 10:17:01 +02:00
Daniel Wirtz
40dac8269d
Rework loop compilation / flows (#644) 2019-06-11 12:52:16 +02:00
jtenner
420812f5b2 Add RTrace typings and include it in the package (#636) 2019-06-06 22:36:28 +02:00
dcode
4680b530fb Refactor number and string utils out of builtins, fixes #608 2019-06-06 16:19:10 +02:00
Daniel Wirtz
0484a6b740
Implement reference counting (#592) 2019-06-05 23:15:39 +02:00
Willem Wyndham
3ed76a97f0 CLI: Move OptionDescription to utils/options so types agree (#612) v0.6 2019-06-04 06:37:01 +02:00
Max Graey
5269a6b9c4 README layout (#605) 2019-05-27 14:37:52 +02:00
dcode
36040d5b53 Update dist files 2019-04-08 08:23:18 +02:00
Daniel Wirtz
5b58b9aa8d
Update Binaryen to latest (#571) 2019-04-08 08:18:21 +02:00
Max Graey
abf3de9076 Fix implicit string to bool conversion (#567) 2019-03-31 20:00:54 +02:00
Daniel Wirtz
85de20c4fc
Add WASI bindings (#562) 2019-03-31 19:59:39 +02:00
dcode
b2adf8b1e2 Update dependencies and rebuild dist files 2019-03-27 15:50:05 +01:00
Daniel Wirtz
527d73ece8
Use fully qualified names in generic types (#544)
* Also fixes infinite parser loops
* Also implements command line option forwarding to node.js
2019-03-25 21:58:19 +01:00
Max Graey
74ce9bf386 Fix unreachable insertion when returning none (#557) 2019-03-24 10:18:05 +01:00
Max Graey
f9a8d2f1db Use lazy initializations for decorators and type parameters in parser (#554) 2019-03-22 12:20:19 +01:00
Daniel Wirtz
858cca5a38
Fix arrow function body parsing precedence (#546) 2019-03-18 17:11:02 +01:00
Daniel Wirtz
fd99589527
Fix enum initialization (#545) 2019-03-18 04:54:44 +01:00
Max Graey
6de4847356 Fix postinstall script (#538) 2019-03-11 20:00:18 +01:00
jtenner
d411415060 Implement TypedArray#reverse (#532) 2019-03-08 18:48:06 +01:00
dcode
cdec865bef Update Binaryen to latest nightly 2019-03-08 16:19:46 +01:00
dcode
c835b5fb40 Update dependencies and rebuild dist files 2019-03-08 14:28:45 +01:00
Daniel Wirtz
252b843c4b
General cleanup (#525)
* Cleans up and trims the overly large builtins file by ~1600 lines
* Properly propagate inline assembler-like argument types
* Use https in examples
* Reformat README
2019-03-08 14:24:48 +01:00
Max Graey
5f547131ab Update nbody example for Rust (#528) 2019-03-06 21:27:54 +01:00
Max Graey
f841f0fe1f Add portable sincos polyfill (#529) 2019-03-06 20:20:18 +01:00
jtenner
783dd32c2e Implement TypedArray#forEach (#530) 2019-03-06 19:07:10 +01:00
Max Graey
208dc2f1de Implement Mathf.sin/cos/tan (#491) 2019-03-05 19:36:22 +01:00
Daniel Wirtz
8e5b9c734b
Add atomic definitions (#524) 2019-03-02 10:14:09 +01:00
dcode
f3aa762ccb Rebuild examples 2019-03-01 00:09:06 +01:00
Daniel Wirtz
4e1bba3a24
Use Binaryen's function signature naming scheme (#522) 2019-03-01 00:01:23 +01:00
dcode
7184db6dde Update Binaryen to latest and regenerate dist files 2019-02-28 18:26:04 +01:00
Daniel Wirtz
1ae7d03e8c
Enable source maps out of the box (#519) 2019-02-28 17:37:30 +01:00
Daniel Wirtz
e1f1a3b49c
Implement v128 instructions (#508) 2019-02-28 17:36:22 +01:00
Max Graey
cdf40578b6 Refactor slices for better compliance (#430) 2019-02-27 21:51:07 +01:00
Max Graey
aad263e670 Add isArrayLike builtin (#453) 2019-02-27 21:47:52 +01:00
Daniel Wirtz
e8b0767143
Infer function expressions in matching contexts (#514)
* legalizes omitting types on function expressions within function type contexts
* legalizes omitting any number of arguments
2019-02-27 21:45:36 +01:00
dcode
2945af6557 Don't reset nested unchecked contexts, fixes #515 2019-02-27 17:10:20 +01:00
Max Graey
ed97672a8c Use faster clamping for Uint8ClampedArray (#422) 2019-02-22 15:26:30 +01:00
Max Graey
6a1ffb8e2f Update example binary sizes (#501) 2019-02-22 15:06:34 +01:00
Max Graey
65c799c925 Speedup some compiler routines (#441) 2019-02-22 14:03:33 +01:00
dcode
cc5522d6cc Legalize external decorator for generic functions 2019-02-22 08:25:41 +01:00
dcode
06ee43e6ad Fix isFunction/isNullable typings 2019-02-22 08:25:00 +01:00
Daniel Wirtz
f318d68383
Add isFunction and isNullable builtins (#504) 2019-02-22 01:11:05 +01:00
Daniel Wirtz
3b5b96f496
Fix declaration mismatch in generated constructors (#505) 2019-02-22 00:50:29 +01:00
dcode
4be78147e6 Update dependencies and dist files 2019-02-21 23:04:41 +01:00
Aaron Turner
11ea78bc13 Add a test for wildcard exports (#499) 2019-02-21 11:38:56 +01:00