dcodeIO
d62d84521e
Reduce inlining verbosity
...
With debug info and source maps in place there is not much value anymore in emitting explicitly named blocks.
2018-11-12 14:54:08 +01:00
dcodeIO
04a0cb8de7
Remove left-over line in std Array
2018-11-12 12:45:44 +01:00
dcodeIO
c93f02df69
Update dist files
2018-11-12 09:15:16 +01:00
dcodeIO
5fccd080c7
Improve std Error compatibility
2018-11-12 09:11:45 +01:00
dcodeIO
84ffa91db9
Add bounds checks to DataView and fix some lint issues
2018-11-12 09:11:04 +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
6f3209e6c6
Fix imported memory fallback and add common stdlib imports to loader
2018-11-11 10:44:09 +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
Max Graey
410036e445
Use mixed Horner scheme in Math.exp/expm1 to improve instruction parallelization ( #311 )
2018-11-09 17:56:42 +01:00
Max Graey
54311fd0ab
Improve bswap implementation ( #323 )
2018-11-09 17:51:32 +01:00
Linus Unnebäck
63b64ba69e
Respect current byteOffset in Array#subarray ( #329 )
2018-11-09 12:29:39 +01:00
dcodeIO
4f95dce6e2
Do not emit debug info by default
...
This basically flips the --noDebug flag to become a --debug flag, so some optimizations, like inlining, aren't skipped by default, which might be unexpected.
2018-11-09 12:28:10 +01:00
Max Graey
d93ca84aed
Correct TypedArray#byteOffset handling and fix TypedArray#subarray ( #328 )
2018-11-08 23:19:41 +01:00
dcodeIO
2ecec660d2
Mention exporting memory utilities more prominently in loader readme, fixes #318
2018-11-08 11:54:36 +01:00
Max Graey
7cfc43ccbf
Update Mandelbrot fiddle
...
Fix #324
2018-11-08 12:19:53 +02:00
dcodeIO
38df5841e1
Update dist files
2018-11-08 08:26:31 +01:00
dcodeIO
b924c152c5
Fix fallback to imported memory in loader, fixes #322
2018-11-08 08:23:00 +01:00
dcodeIO
c6447e3c3b
Update dependencies and tackle package-lock weirdness, fixes #319 , fixes #321
2018-11-08 08:16:16 +01:00
Daniel Wirtz
2bdc2a72f1
Use stack IR when emitting text format ( #312 )
2018-11-08 08:04:24 +01:00
Linus Unnebäck
7135af36bd
Update linting instructions to reference new script name ( #320 )
2018-11-07 20:44:38 +01:00
Max Graey
ef3b47d91c
Update portable constants ( #313 )
2018-11-01 01:51:03 +01:00
dcodeIO
2062caef2c
Update dist files
2018-10-30 15:30:49 +01:00
Max Graey
dc4e2060ba
Add unary postfix operator overloading ( #309 )
2018-10-30 15:23:18 +01:00
Max Graey
d864bef1eb
Improve per-bit divmod loop for mod & rem ( #307 )
2018-10-30 15:10:50 +01:00
LiaoPeng
d864977a1a
Add Array#concat and add a return type for Array#push ( #214 )
2018-10-30 15:07:53 +01:00
dcodeIO
c11605d10c
Fix OC tiers in README
2018-10-30 15:04:17 +01:00
dcodeIO
6f8a0fe03a
Rework compileUnaryPostfixExpression
...
Previously this tried to reuse too much code, making it hard to implement operator overloading
2018-10-29 20:06:21 +01:00
Andy Hanson
0bb5cb829e
Support definite assignment assertion x!: i32
( #260 )
2018-10-27 18:29:59 +02:00
Max Graey
e58582e9e9
Minor remquof improvemnts ( #306 )
2018-10-27 18:27:54 +02:00
Max Graey
83fa12164f
Add TypedArray#fill ( #274 )
2018-10-26 18:28:31 +02:00
Max Graey
afb8fe7762
Update Rust n-body build ( #294 )
2018-10-26 18:25:09 +02:00
Max Graey
376afd45fc
Improve Math routines; Add Mathf-specific prng ( #297 )
2018-10-26 00:10:17 +02:00
dcodeIO
4683599a82
Improve loader function table handling
2018-10-20 15:40:23 +02:00
Sylvain Corsini
c4d7764851
Add lib/loader/ to package.json ( #273 )
2018-10-20 12:39:59 +02:00
Max Graey
711f73b15d
Implement String#split ( #301 )
2018-10-18 19:05:35 +02:00
dcodeIO
086d96b299
Fix variable arguments handling with setargc in loader
2018-10-11 17:55:11 +02:00
dcodeIO
87ec6c59ce
Update examples
2018-10-11 09:09:56 +02:00
dcodeIO
be5073aba5
Update parse/lint dependencies
2018-10-11 09:04:34 +02:00
dcodeIO
420592eacb
Update dist files
2018-10-11 08:57:19 +02:00
Daniel Wirtz
f7c734789e
Update Binaryen to latest; Various fixes
2018-10-11 08:49:08 +02:00
dcodeIO
b54a97c0fe
Fix a typo and a signature in loader README
2018-10-11 08:22:20 +02:00
dcodeIO
af968177c8
Fix use of instantiateStreaming's result object in new loader, see #295
2018-10-04 17:13:01 +02:00
dcodeIO
e22524fab8
Update loader to support environments where 'new WebAssembly.Instance' is limited, see #295
2018-10-04 13:16:39 +02:00
dcodeIO
63d4579118
Fix some array function parsing and serialization issues
...
Quite similar to #256 and also uses its test, but also fixes the serializer and doesn't try to parse an untyped 'x => x'.
2018-10-04 09:53:47 +02:00
dcodeIO
59e2a63b83
Add table section support to lib/parse
...
Originally part of #288
2018-10-03 03:30:00 +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
dcodeIO
db0e82fbc3
Add a .data pointer on ArrayBuffers for convenience, see #291
2018-10-03 01:06:48 +02:00