José Julián Espina
c6f02b607b
Ignore `Cargo.lock` in fuzzer ( #3636 )
10 months ago
José Julián Espina
5628637cfb
Cleanup 262 tester and stabilize some experimental features ( #3632 )
...
* Cleanup 262 tester and graduate some experimental features
* Fix import
10 months ago
dependabot[bot]
1a556242fe
Bump serde_yaml from 0.9.30 to 0.9.31 ( #3629 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.30 to 0.9.31.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.30...0.9.31 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago
José Julián Espina
4ddcb81d90
Run `cargo update` on fuzz crate ( #3607 )
11 months ago
raskad
0ed7da5730
`Date` refactor ( #3595 )
...
* Refactor date builtin
* Remove chrono dependency
* Replace custom modulo with rem_euclid
11 months ago
dependabot[bot]
2d3cee19b7
Bump rayon from 1.8.0 to 1.8.1 ( #3598 )
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.8.0 to 1.8.1.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.8.1 )
---
updated-dependencies:
- dependency-name: rayon
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
dependabot[bot]
3b51a84350
Bump trybuild from 1.0.88 to 1.0.89 ( #3585 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.88...1.0.89 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
dependabot[bot]
e13dcecee2
Bump trybuild from 1.0.87 to 1.0.88 ( #3570 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.87...1.0.88 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
dependabot[bot]
cbbcdabc96
Bump trybuild from 1.0.86 to 1.0.87 ( #3563 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.86...1.0.87 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
dependabot[bot]
3fb8d8826d
Bump serde_repr from 0.1.17 to 0.1.18 ( #3556 )
...
Bumps [serde_repr](https://github.com/dtolnay/serde-repr ) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/dtolnay/serde-repr/releases )
- [Commits](https://github.com/dtolnay/serde-repr/compare/0.1.17...0.1.18 )
---
updated-dependencies:
- dependency-name: serde_repr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
dependabot[bot]
66f763781a
Bump serde_yaml from 0.9.29 to 0.9.30 ( #3558 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.29 to 0.9.30.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.29...0.9.30 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
raskad
6ac435ffea
Fix rust 1.75 lints ( #3540 )
11 months ago
dependabot[bot]
d765b080e9
Bump serde_yaml from 0.9.28 to 0.9.29 ( #3534 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.28 to 0.9.29.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.28...0.9.29 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot]
fffc5df60c
Bump serde_yaml from 0.9.27 to 0.9.28 ( #3530 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.27 to 0.9.28.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.27...0.9.28 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot]
03adaed9b0
Bump trybuild from 1.0.85 to 1.0.86 ( #3525 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.85...1.0.86 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
José Julián Espina
47351efa53
Reestructure repo and CI improvements ( #3505 )
...
* Reestructure repo
* cargo update & fmt
* Fix CI
* Add newline
* Fix playground CI
* Fix CI
* Fix CI (for real this time)
* Fix CI (fr fr)
1 year ago
Jason Williams
074df666eb
ignoring the tests/js/test.js file
5 years ago
Jason Williams
80a9e6a971
updating rest-spread (rebased) ( #213 )
...
* Adding support for rest/spread
5 years ago
Jason Williams
d4791837db
[WIP] - addition of Symbols ( #191 )
...
* Addition of Symbols
* Addition of Symbol benchmark
5 years ago
Elijah Caine M. Voigt
d725b0c769
Feature/number object ( #182 )
...
* Feature(Number): Tests for the Test Driven Development!
refs #34
* Feature: Skeleton code for Number
refs #34
* Feature: Most of Number() is complete
Includes:
- make_number()
- call_number()
- Number().toExponential()
- Number().toFixed()
- Number().toLocaleString() (ish)
- Number().toString()
- Number().valueOf()
- create_constructor()
- init()
Missing:
- Number().toPrecision()
refs #34
* Feature(Number): test compatability with const -> var
I don't have all the context on _why_ but all of the tests for `Number` started failing.
Upon investigation it was becuase `const` stopped acting the way I expected.
Switching my test cases from using `const` to using `var` variable declarations
made everything work again. I don't know enough about JS to know if this is a
bug or expected behavior. Based on changes to other tests, it is know
behavior.
Refs #34
* Changelog: Number() object.
Includes some clippy fixes.
Fixes #34
5 years ago
Jason Williams
3465e6bbca
short function syntax fixes #152 ( #199 )
...
* short function syntax
* updating parser plus adding test
5 years ago
Elijah Caine M. Voigt
d798566377
unassigned var is undefined ( #125 )
...
* Unassigned variables are set to `undefined` not `null`
Fixes #113
* Rust tests for `var x` and `let x` default to undefined
* CHANGELOG for issue #113 fix + add tests/js/test.js to gitignore.
5 years ago
Jason Williams
27178e1645
fixes #10 ( #112 )
5 years ago
Jason Williams
821632972b
Addition of arguments object ( #109 )
...
* testing PR
* making a start to arguments object
* arguments
* finishing arguments for now
5 years ago
Jason Williams
73d158cce2
testing small change ( #104 )
5 years ago
Jason Williams
910d20f6a5
support early returns, fixes #101
5 years ago
Jason Williams
e35b66b412
moving to function objects, work started on boashell other bug fixes
5 years ago
Jason Williams
c5b75c55ad
passing primitives to methods ( #86 )
...
* passing primitives to methods
* finishing unboxing_primitives, tests added, using internal_slots for __proto__
5 years ago
Jason Williams
903cbcdccc
Adding operations ( #85 )
...
* adding operations to exec
* using StringData instead of PrimitiveData (to match with spec)
* function signature changed to allow mutable ctx (this is needed for some functions)
* tidy (clippy)
* value to rust string (clippy)
* removing static lifetime - Not needed from Rust 1.36
5 years ago
Jason Williams
fe42b0c616
adding context into every native function, changing this to be passed… ( #73 )
5 years ago
Jason Williams
0e92d37756
Refactor objects ( #69 )
...
Refactoring Objects into Structs. Changing the way objects are accessed.
New `internal_slots` and `sym_properties` fields
5 years ago
Iban Eguia
71340e6bec
Fixed a bunch of Clippy issues ( #59 )
...
* Fixed a bunch of Clippy issues
* Fixed bug with numbers
* Added clippy checks in the CI
5 years ago
Iban Eguia
14672dd340
Parser tests ( #42 )
...
* First parser tests
* Added more parser tests
* Fixed formatting issue
* Added bitwise operators, removed debugging statement
6 years ago
Jason Williams
7177a3fc5d
changing preview_next() to return Option and next_is to bool ( #26 )
6 years ago
Jason Williams
5faef8bc22
better unicode escape support fixes #16 ( #20 )
...
* better unicode escape support fixes #16
* adding benchmarking, updating deps and added test for numbers
6 years ago
Jason Williams
741b55806e
arrow function is working
6 years ago
Jason Williams
600b4b4f9d
let and const now partially supported ( #18 )
6 years ago
Jason Williams
5ea6187315
web assembly demo updates
6 years ago
Jason Williams
f7be6f8118
adding Wasm-bindgen
6 years ago
Jason Williams
5664ea6d1b
Environment Records have been implemented (bar module), exec::scope has now been changed to Environment
6 years ago
Jason Williams
78d3cb910d
added support for char_code_at()
6 years ago
Jason Williams
64ab7b0133
added support for String.prototype.charAt()
6 years ago
Jason Williams
5ef57ffb90
reorganising unit tests into their respective files
6 years ago
Jason Williams
7ba514b416
string objects now display their primitive value, to_function() method has been added to value, test added for String()
6 years ago
Jason Williams
226ba4dcf3
no need for mutable in private_obj
6 years ago
Jason Williams
1f2815bea8
fixing decrementation and testing
6 years ago
Jason Williams
7c2aa5601d
creating String() constructor function
6 years ago
Jason Williams
5e4999c5fa
preparing for Rust 2018 and constructor work
6 years ago
Jason Williams
91f84e1000
changing to i32 to match spidermonkey
6 years ago
Jason Williams
6a1b081efd
fixed length
6 years ago