dcode
d9a5681489
arraybufferview
2019-03-11 07:45:47 +01:00
dcode
1198e71236
same for padStart
2019-03-11 01:29:12 +01:00
dcode
ebe92c62a8
untrampoline padEnd
2019-03-11 01:20:47 +01:00
dcode
ce82e5458e
unshiftify padEnd
2019-03-11 01:16:05 +01:00
dcode
f076826e59
update std/string
2019-03-11 00:35:17 +01:00
dcode
85b740d670
fix
2019-03-10 21:42:18 +01:00
dcode
cb77760562
unsafe, stub
2019-03-10 21:38:15 +01:00
dcode
5a2ab3d7ec
what std/string would look like
2019-03-10 02:57:05 +01:00
dcode
5c25b0cb72
refactor
2019-03-09 02:44:46 +01:00
dcode
661e239fcb
refactor
2019-03-09 02:37:05 +01:00
dcode
0c537c3363
test a few things
2019-03-09 02:04:08 +01:00
dcode
4f1a971a61
make it test again
2019-03-09 01:06:45 +01:00
dcode
0ad9d560e0
integrate
2019-03-09 00:40:03 +01:00
dcode
911a4bbaf2
design
2019-03-08 23:12:23 +01:00
dcode
dd5430aa76
simplify more
2019-03-08 22:50:30 +01:00
dcode
979a0b8f23
simplify
2019-03-08 22:33:05 +01:00
dcode
878ee3f13b
fix
2019-03-08 22:08:28 +01:00
dcode
80fb4509af
Runtime experiment
2019-03-08 22:04:20 +01:00
jtenner
d411415060
Implement TypedArray#reverse ( #532 )
2019-03-08 18:48:06 +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
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
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
Max Graey
ed97672a8c
Use faster clamping for Uint8ClampedArray ( #422 )
2019-02-22 15:26:30 +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
dcode
34d86a0d6a
Replace more workarounds with actual lazy compilation in stdlib
2019-02-21 05:42:33 +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
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
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
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
Max Graey
c7441066dc
Minor math tweaks + ipow32f/ipow64f ( #428 )
2019-01-24 23:17:44 +01:00
Max Graey
d709cf3dff
Improve decorator declarations ( #426 )
...
i.e. add a dummy `TypedPropertyDescriptor<T>`
2019-01-24 08:39:15 +01:00
jtenner
3b1852bc37
Implement TypedArray#every/some/findIndex and improve map/reduce/reduceRight ( #433 )
2019-01-24 08:33:22 +01:00
Max Graey
d3715688fc
Fix Math.imul and add tests ( #432 )
2019-01-24 01:23:53 +01:00
Max Graey
54b02c287c
Fix functional Array & String methods and avoid buffer caching ( #415 )
2019-01-17 01:34:09 +01:00
LiaoPeng
201bd5f2b1
Implement String#slice ( #404 )
2019-01-10 12:10:23 +01:00