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
dcode
c2a0a34b4c
Add new quote to README
2019-02-21 07:50:15 +01:00
dcode
c0738ed6b6
Correct asc output stream typings, fixes #485
2019-02-21 06:16:29 +01:00
dcode
34d86a0d6a
Replace more workarounds with actual lazy compilation in stdlib
2019-02-21 05:42:33 +01:00
Max Graey
206e4c4565
Improve n-body bench env ( #457 )
2019-02-21 02:14:35 +01:00
dcode
8d2194f045
Require exact type in instanceof basicType, fixes #493
2019-02-21 02:09:06 +01:00
Max Graey
6b495f71d0
Ensure Math.clz32/imul compatibility with JS ( #474 )
2019-02-21 00:32:58 +01:00
Max Graey
0041572052
Reuse respective opposite overload in std/string comparisions ( #479 )
2019-02-21 00:30:05 +01:00
Max Graey
2c365ada5b
Improve operator overload typings ( #480 )
2019-02-21 00:23:46 +01:00
Nidin Vinayakan
951b6f9f45
Add shared memory support to compiler ( #494 )
2019-02-21 00:22:25 +01:00
Daniel Wirtz
0c64f21250
Rework resolver ( #489 )
...
* Rework IR and resolver to use nested lookup tables
* Integrate types into IR
* Make components prefer IR, slimmed down AST
* Implement `export *`
* Add `@lazy` annotation and remove `--noTreeShaking`
* Add `@start` annotation and remove magic `main`
* Related refactoring, cleanup and docs
2019-02-21 00:11:22 +01:00
dcode
e623786b42
Emit proper diagnostic when returning void from a function with a return value, fixes #475
2019-02-08 16:00:35 +01:00
dcode
fadfe6e421
Add stale bot
2019-02-08 01:46:01 +01:00
dcode
47b2f33564
Emit a better error when expecting a compile-time constant, fixes #222
2019-02-07 23:04:57 +01:00
dcode
9a8ed25b19
Update dist files
2019-02-07 18:29:48 +01:00
Daniel Wirtz
1bd1d26152
Put atomics behind a feature flag ( #470 )
2019-02-07 18:21:09 +01:00
Daniel Wirtz
2f1a6c44ce
Add SIMD prerequisites ( #469 )
2019-02-07 15:26:26 +01:00
Nidin Vinayakan
7ce3296b5e
Add atomic built-ins ( #440 )
2019-02-07 15:25:49 +01:00
Max Graey
41a89fa773
Fix default comparator for strings ( #462 )
2019-02-07 12:26:45 +01:00
Daniel Wirtz
f551bc78e1
Implement bulk memory operations ( #467 )
2019-02-07 11:40:23 +01:00
Daniel Wirtz
831054dfd3
Rework inlining logic ( #463 )
2019-02-06 23:42:43 +01:00
dcode
01cade13f9
Update other dependencies
2019-02-05 17:55:12 +01:00
dcode
cd1cfe6957
Update Binaryen to latest and rebuild dist files
2019-02-05 17:12:10 +01:00
dcode
c95c0f5fbe
Emit diagnostic when redeclaring a local name, fixes #452
2019-02-03 13:37:32 +01:00
Max Graey
4829f3a3e4
Add ArrayBuffer.isView and rework Array.isArray ( #431 )
2019-02-03 10:41:04 +01:00
Max Graey
1867416236
Make TypedPropertyDescriptor less type strict ( #436 )
2019-02-02 16:22:22 +01:00
Daniel Wirtz
2131c51932
Rework constructor handling ( #446 )
2019-02-02 16:03:21 +01:00
Daniel Wirtz
75328f3feb
Implement calls to 'super()' ( #445 )
2019-01-31 10:35:49 +01:00
dcode
65c4acd2d4
Skip over duplicate '| null's on nullable types
2019-01-30 10:56:22 +01:00
dcode
7877661f35
Emit an error when declaring a nullable basic type (for now)
2019-01-30 10:22:15 +01:00
dcode
53db37f2e8
Update CONTRIBUTING.md
2019-01-30 10:09:56 +01:00
Daniel Wirtz
d843772314
Implement non-null assertions ( #443 )
2019-01-30 09:56:13 +01:00
dcode
2fe228ff00
Cache strings shared with Binaryen
2019-01-27 02:08:04 +01:00
dcode
918a40eb7d
Make asinit understand '--help', fixes #427
2019-01-26 12:40:42 +01:00
Nidin Vinayakan
b7c7be1fe9
Add shared memory definitions and initial API ( #435 )
2019-01-25 10:50:55 +01:00