Max Graey
f841f0fe1f
Add portable sincos polyfill ( #529 )
2019-03-06 20:20:18 +01:00
Max Graey
aad263e670
Add isArrayLike builtin ( #453 )
2019-02-27 21:47:52 +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
Max Graey
4829f3a3e4
Add ArrayBuffer.isView and rework Array.isArray ( #431 )
2019-02-03 10:41:04 +01:00
LiaoPeng
201bd5f2b1
Implement String#slice ( #404 )
2019-01-10 12:10:23 +01:00
Max Graey
e3e0fe8045
Improve portables ( #386 )
...
* Hardened load/save
* Added memory.reset and memory.fill
* Added isDefined and isConstant
* Use true/false as bool's min/max values
2019-01-09 13:17:18 +01:00
dcodeIO
d5a6bbca9b
Add missing definitions for Uint8ClampedArray
2018-12-01 19:49:00 +01:00
Max Graey
3c5c2cef80
Fix implementation of Array#splice ( #347 )
2018-11-29 15:41:42 +01:00
Max Graey
4944280cdc
Add Math.signbit ( #333 )
2018-11-18 11:46:48 +01:00
Max Graey
1928404f3b
Add ArrayBuffer/DataView/Symbol#toString and improve Errors ( #332 )
2018-11-18 11:43:44 +01:00
Max Graey
1882679807
Implement Array.isArray and Array#copyWithin ( #331 )
2018-11-12 07:45:40 +01:00
Max Graey
4e89456dcb
Add more numeric builtins ( #330 )
2018-11-12 07:42:28 +01:00
Linus Unnebäck
3f9758f35a
Add DataView to standard library ( #316 )
2018-11-12 07:41:04 +01:00
dcodeIO
9ab7384122
Improve date binding compatibility
2018-11-11 10:43:17 +01:00
dcodeIO
1fad3d26c7
Add initial Date bindings
...
Doesn't do much, yet, because we can't get the timezone with a plain binding, but it's at least something.
2018-11-10 14:40:58 +01:00
LiaoPeng
d864977a1a
Add Array#concat and add a return type for Array#push ( #214 )
2018-10-30 15:07:53 +01:00
Max Graey
711f73b15d
Implement String#split ( #301 )
2018-10-18 19:05:35 +02:00
dcodeIO
eeb8a8fd6c
Make sure temp locals don't collide when allocating literal arrays, fixes #281
...
Originally part of #288
2018-10-03 01:32:28 +02:00
Max Graey
53b030fed5
Add Array#join and Array#toString + dtoa ( #275 )
2018-10-01 22:57:56 +02:00
Max Graey
2874fb9d8a
Add trimStart/End aliases ( #287 )
2018-09-30 22:21:34 +02:00
Max Graey
3f035395cd
Add Array#fill ( #250 )
2018-09-19 00:59:22 +02:00
Max Graey
671121bf70
Implement String#padStart/padEnd; Refactor internal string copy, compare and repeat ( #171 )
2018-07-25 16:25:53 +02:00
Max Graey
298a8f1688
Add String.fromCodePoint and 16-bit string compare ( #174 )
2018-07-23 14:32:55 +02:00
dcodeIO
a1b75b69b7
Rename memory instructions; Rework constant handling
2018-07-18 23:49:32 +02:00
Max Graey
365884ff73
Add String#lastIndexOf and improve tests ( #163 )
2018-07-10 03:31:51 +02:00
dcodeIO
5ca5df3dc7
Restructure types; Add a use-case specific options parser; Allow (re)creation of specific parser fixtures
2018-07-03 03:06:01 +02:00