Iban Eguia
84db01ee09
Improved the description of the issue templates ( #554 )
4 years ago
Iovoslav Iovchev
a933ae8ef3
rustyline for the cli ( #492 )
...
Co-authored-by: Iban Eguia <razican@protonmail.ch>
4 years ago
croraf
0fe591b5c5
[builtins - object] Object.create ( #543 )
4 years ago
HalidOdat
1e82e7c95a
Merged `create` into `init` for builtins ( #547 )
4 years ago
HalidOdat
ca0eaeadb2
Removed `console`s dependency of `InternalState` ( #544 )
4 years ago
HalidOdat
5f7ec62306
Made all `Math` methods spec compliant ( #541 )
4 years ago
croraf
641dce1357
Refactor exec/expression into exec/call and exec/new ( #529 )
4 years ago
HalidOdat
fcb4b8b1f1
Cleanup and added test for `String.prototype.concat` ( #538 )
4 years ago
HalidOdat
070b78c357
Feature `SyntaxError` ( #536 )
4 years ago
HalidOdat
357c7d07f7
Fix all `Value` operations and add unsigned shift right ( #520 )
4 years ago
n14little
f957eacbae
fix json.stringify symbol handling ( #535 )
4 years ago
Te-jé Rodgers
d9ef1fb426
add remaining math methods ( #524 ) ( #525 )
...
* add `Math.clz32` method (#524 )
* fix doc urls for clz32
* [#524 ] optimize impl for `Math.clz32`
* [#524 ] add implementation for `Math.expm1()`
* [#524 ] add implementation for `Math.fround()`
* [#524 ] implement `Math.hypot()`
* [#524 ] implement `Math.log1p()`
* [#524 ] implement `Math.imul()`
* improve `Math.clz32()` implementation
* [#524 ] add tests for more states
4 years ago
jasonwilliams
73f65f7800
0.9.0
4 years ago
Jason Williams
29d159739f
Update CHANGELOG.md
4 years ago
Jason Williams
8be0cb55f0
Update CHANGELOG.md
4 years ago
Jason Williams
109efcb3df
v0.9 changelog ( #528 )
...
v0.9
4 years ago
Iban Eguia
477d408c10
Upgraded dependencies before the 0.9 release ( #537 )
4 years ago
Jason Williams
8b40e9eec2
updating docs to add summarize ( #527 )
...
* updating docs to add summarize
* add table
4 years ago
Jason Williams
c4a652a517
Fix sending `this` value to function environments ( #526 )
4 years ago
n14little
3fe894273c
clean up the rest of the math methods ( #523 )
...
* clean up the rest of the math methods
* wrap match with Ok(Value::from(...))
* cargo fmt
4 years ago
Ryan Fickenscher
24418e7520
TypeError when to_object is passed null or undefined ( #518 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
5 years ago
HalidOdat
8f8498eac1
`Value` refactor ( #498 )
...
- Refactor `String` => `Rc<str>`
- Refactor `Symbol` => `Rc<Symbol>`
- Refactor `BigInt` => `RcBigInt`
- Changed function signature, from `&mut Value` to `&Value`
- Removed `Interpreter::value_to_rust_number()
- Abstracted `Gc<GcCell<Object>>` to `GcObject`
- Removed unnecessary `Box`s in global environment
- Extracted `extensible` from internal slots
- Made `to_primitive` throw errors
- Removed `strict` parameter in `SameValue` function.
- The `SameValue` function is not dependent on strict mode.
5 years ago
n14little
69f48862ea
update pass through math methods ( #519 )
...
* update pass through math methods
* cargo fmt
5 years ago
HalidOdat
1ac5f205eb
Added arithmetic operation benchmark ( #516 )
5 years ago
Tyler Morten
1ffeb5cbe1
Implement Object.is() method issue #513 ( #515 )
5 years ago
n14little
299a431efe
JSON.stringify(undefined) should return undefined ( #512 )
5 years ago
HalidOdat
a7cffe3c7c
Fixed function call with unspecified arguments ( #506 )
...
Calling a function with less amount of arguments than
the function declaration parameters would `panic`.
5 years ago
n14little
8b431a4a19
434 json parse enumerability ( #504 )
5 years ago
croraf
c19ef724e3
Added undefined property to global scope ( #501 )
5 years ago
HalidOdat
e674da46e7
Fixed global objects initialization order ( #502 )
5 years ago
croraf
4ae939ac52
[ReferenceError] complete solution ( #488 )
5 years ago
neeldug
b43e92afa5
Added error propagation in Field access ( #500 )
5 years ago
Anirudh Konduru
64fca0c162
add Infinity gloabal property ( #480 ) ( #499 )
5 years ago
HalidOdat
df13272fc0
Object specialization ( #419 )
5 years ago
HalidOdat
0d52a40c53
Added `String`, `Boolean` and `Number` object benchmarks ( #494 )
5 years ago
Ryan Fickenscher
474252324e
Added `globalThis` property ( #495 )
...
* added builtin globalThis
* forgot to initialize globalThis in the builtin mod.rs file
* changed to to match naming conventions and fixed issue with suggested edits to globalThis' initial value
* updated the test for the property as suggested
5 years ago
Iban Eguia
d2939fffe3
Added string benchmarks, and updated dependencies ( #491 )
5 years ago
croraf
d042ddda3f
[parser] folder structure for VariableStatement and ExpressionStatement ( #489 )
5 years ago
Paul Lancaster
542b2cc005
Switch impl ( #451 )
...
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
croraf
c42fcf12a7
[FunctionDeclaration - execution] evaluate declaration into undefined not function ( #473 )
5 years ago
abhi
a7a5862458
Add benchmarks for array access, create and pop operations. ( #458 )
5 years ago
gvasquez11
3ff200ea11
updated issue #484 ( #485 )
5 years ago
Iban Eguia
a5ed8b7743
Small optimisation in som types that can be `Copy` ( #479 )
5 years ago
croraf
5a45ab532e
[NaN] handle NaN token as identifier ( #475 )
5 years ago
HalidOdat
496278c460
Fix compilation error
5 years ago
Richard
a987e76b9f
Add BigInt.asIntN() and BigInt.asUintN() functions ( #468 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
5 years ago
Colin Suckow
96dec21c02
Implement PreferredType enum ( #470 )
5 years ago
n14little
73d7a64bb4
add array prototype to arrays built in from_json ( #476 )
5 years ago
Iban Eguia
64dbf13afd
Implemented #427 , #429 and #430 , and upgraded dependencies ( #472 )
5 years ago
Paul Lancaster
634dfb7e80
Optimise type comparisons ( #441 )
...
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago