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
croraf
ca80114c53
Fix and tests ( #469 )
5 years ago
Jason Williams
981404a518
Update pull_request.yml
5 years ago
Jason Williams
2736f7bc1b
Update pull_request.yml
5 years ago
Jason Williams
cf3251dd9a
references
5 years ago
Jason Williams
b888bae2c8
stick to cwd
5 years ago
Jason Williams
f8821bed93
adding package
5 years ago
Jason Williams
a76b8d489f
Add inputs to yml
5 years ago
Jason Williams
a4ae22ed60
Forgot to build criterion benchmarks
5 years ago
n14little
4763907fbf
Add proto object to from json ( #462 )
...
* remove From<JSONValue> for Value. Going from JSONValue to Value will soon need the interpreter
* pass interpreter to from_json
* move from_json to Value impl
* move to_json to Value impl alongside from_json
* add prototype to objects created from json
* consume the object and don't clone
* if it fits into i32, use integer; otherwise, use a rational
* WIP: throwing type error
* address most of the error cases
* cargo fmt
* address the rest of the error cases
* return null when JSONNumber::from_f64() returns None
* cargo fmt
* Update boa/src/builtins/value/mod.rs
* use JSONValue and use Result
* Update boa/src/builtins/json/mod.rs
Use and_then to avoid flatten
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
Co-authored-by: HalidOdat <halidodat@gmail.com>
5 years ago
Jason Williams
081884e8d0
Use latest compare action
5 years ago
Paul Lancaster
a78934d424
parseInt, parseFloat implementation ( #459 )
...
* Added documentation to make_builtin_fn
* Simple impl of parseInt()
* Impl rest of parse_int
* Fixed handling of strings starting 0x
* Made NaN return as per js spec
* Rework to improve clarity
* parseFloat impl, added tests
* Addressed comments to PR
* Removed f64 import
* Fixed handling of too many/few arguments to parseInt/Float
Co-authored-by: HalidOdat <halidodat@gmail.com>
5 years ago
croraf
863abb3747
[TemplateLiteral] Basic lexer implementation ( #455 )
...
* Basic template literal lexer implementation
* Fix formatting
5 years ago
Iban Eguia
d970cf96b5
Execution benchmarks only take execution into account ( #431 )
5 years ago
dependabot[bot]
691c0d4f3b
Bump websocket-extensions from 0.1.3 to 0.1.4 ( #460 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Paul Lancaster
84574b5da8
Divide the `run()` function ( #422 )
...
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
d847ff826b
Specification compliant `ToBigInt` (`to_bigint`) ( #450 )
...
- Merged Ast `BigInt` to Builtin `BigInt`.
- Split `BigInt` logic to separate files.
- Added `builtins/bigint/operations.rs` for `BigInt` operations.
- Added `builtins/bigint/conversions.rs` for `BigInt` conversions.
- Added` builtins/bigint/equality.rs` for `BigInt` equality checking.
- Added tests.
5 years ago
Jason Williams
32b0741cc8
Profiler using measureme ( #317 )
...
Profiler
5 years ago
HalidOdat
bb2b6f638c
Added `TypeError` implementation ( #442 )
5 years ago
n14little
4f2191ae1f
Has own property should call get own property ( #444 )
...
* object.hasOwnProperty should call getOwnProperty
* should work for properties with undefined and null values
* cargo fmt
5 years ago
Iban Eguia
145f0e3f03
Our benchmarks action now lives in boa-dev ( #438 )
5 years ago
Iban Eguia
d003ad3b6d
Fixed badges in README ( #437 )
5 years ago
HalidOdat
5e71718928
Specification compliant `ToString` (`to_string`) ( #425 )
5 years ago
Jason Williams
073b8cee06
Update rust.yml
...
just use @v1
5 years ago
Paul Lancaster
b308f82302
Update to use a newer version of codecov github action ( #436 )
5 years ago
Jason Williams
aca55fd9aa
Update README.md
...
remove testing
5 years ago
Jason Williams
640b76efaa
Update README.md
5 years ago
Paul Lancaster
ce0d801685
Add code coverage: tarpaulin / codecov ( #411 )
...
* Adding tarpaulin code coverage step
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
abhi
8255c3a83a
Add support for the reviver function to JSON.parse ( #410 )
5 years ago
Pedro Paulo
87aea64c1f
Consistency at README.md ( #424 )
...
Tries to make the README.md file more consistent. In some places the lines ended with a ".", while in others it did not. The licenses at the ended were missing some links and some sessions, such as [Benchmark] did not have any text besides the main link, among other things.
5 years ago
n14little
82908dfdf4
Json stringify replacer ( #402 )
5 years ago
Pedro Paulo
c8218dd91e
Replacement of dead links ( #423 )
...
* Update repository link on Cargo.toml
* Update repository for Cargo.toml [WASM]
* Update link on CONTRIBUTING.md
Moving <https://github.com/jasonwilliams/boa/issues > to <https://github.com/boa-dev/boa/issues >
* Remove dead links on CHANGELOG.md
Changes all dead links from <https://github.com/jasonwilliams/boa > to <https://github.com/boa-dev/boa >.
* Fix dead link on boa/Cargo.toml
From <https://github.com/jasonwilliams/boa > to <https://github.com/boa-dev/boa >
* CHANGELOG.md - Fix link on comparing v0.7.0 with v0.8.0
Previously comparing v0.7.0...HEAD
5 years ago
Paul Lancaster
d837e040c9
Number constants ( #420 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
5 years ago
HalidOdat
d42e413f8a
Fixed function object constructable/callable ( #409 )
...
- Maded arrow functions non-constructable
- Simplified Function object and removed FunctionKind
- Rnamed create_ordinary -> ordinary, create_builtin -> builtin
- Added name and length properties in global objects
5 years ago
HalidOdat
e7a9c80d97
Fixed parsing if statement without else block preceded by a newline ( #412 )
5 years ago
Iban Eguia
4beadfc9ad
Execution and Node modularization ( #392 )
5 years ago
Pedro Paulo
866d5e3033
Update links on README.md ( #416 )
...
Since the repo migrated from <https://jasonwilliams.github.io/boa/ > to <https://boa-dev.github.io/boa/ >, the links on the README.md got deprecated.
5 years ago
Jason Williams
db18360ed5
Update CHANGELOG.md
5 years ago
Jason Williams
939fa390f4
Update CHANGELOG.md
5 years ago
Jason Williams
2149bdc67b
v0.8.0
5 years ago