-
-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Implement is_identifier_(start/part)
using icu_properties
#2865
Conversation
Test262 conformance changes
|
Codecov Report
@@ Coverage Diff @@
## main #2865 +/- ##
==========================================
+ Coverage 50.92% 50.95% +0.03%
==========================================
Files 419 419
Lines 41802 41867 +65
==========================================
+ Hits 21288 21334 +46
- Misses 20514 20533 +19
... and 13 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Regarding boa_unicodde
, we could maybe use cargo-tally
(https://github.com/dtolnay/cargo-tally).
With this we could check if someone else uses it and deprecate our crate.
Apparently there are no dependents of |
Let's do it! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
bors r+ |
Then, after this gets merged, we can open a new branch to bump |
As mentioned in #2848 (comment), this uses our new default ICU4X data to replace `char::is_start` and `char::is_continue` from the `boa_unicode` crate with the [`icu_properties`](https://crates.io/crates/icu_properties) crate. Note that this doesn't deprecate `boa_unicode` yet, since that'll require some discussion about how to proceed with a now unused sub-crate.
Pull request successfully merged into main. Build succeeded: |
is_identifier_(start/part)
using icu_properties
is_identifier_(start/part)
using icu_properties
For the sake of documentation; I noticed that after this change our benchmarks for the parser looked better so I ran them and compared cebec9d to c330005.
cc @jedel1043 |
Nice! And it makes much sense, since |
As mentioned in #2848 (comment), this uses our new default ICU4X data to replace
char::is_start
andchar::is_continue
from theboa_unicode
crate with theicu_properties
crate.Note that this doesn't deprecate
boa_unicode
yet, since that'll require some discussion about how to proceed with a now unused sub-crate.