Skip to content
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

Make unicode-property-data ecmaVersion-aware #798

Merged
merged 1 commit into from
Feb 1, 2019
Merged

Make unicode-property-data ecmaVersion-aware #798

merged 1 commit into from
Feb 1, 2019

Conversation

TimothyGu
Copy link
Contributor

@TimothyGu TimothyGu commented Feb 1, 2019

The data in unicode-property-data should not be taken to mirror Unicode properties directly, but rather individual editions of ECMAScript have their own allowed property names and values. For instance, the latest ES draft adds the Extended_Pictographic binary property and a series of Script property values to keep up with Unicode 11.0.0 as compared to ES 9, but when the user requests ES 9 the additions should not be allowed.

Also, make the entire system use regular expressions à la keywords, and update test262 again.

Also, make it use regular expressions à la keywords, and update test262
again.
@TimothyGu TimothyGu changed the title Make unicode-property-data version-aware Make unicode-property-data ecmaVersion-aware Feb 1, 2019
@marijnh marijnh merged commit bedf07e into acornjs:master Feb 1, 2019
@marijnh
Copy link
Member

marijnh commented Feb 1, 2019

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants