Skip to content

Add mixed-script detection #6

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
merged 3 commits into from
Jan 1, 2020
Merged

Add mixed-script detection #6

merged 3 commits into from
Jan 1, 2020

Conversation

Manishearth
Copy link
Member

Yes, I'm using a git dependency right now, because the crate name is taken, but I have push access to the old crate and would rather just update it (see servo/unicode-script#6)

For prototyping this should be fine.

We should also move identifier profile stuff into a different module as well.

r? @crlf0710

@crlf0710
Copy link
Collaborator

crlf0710 commented Jan 1, 2020

Seems diverted a little from the original specification since there's no handling of the Zyyy and Zinh. (Maybe that's intentional, then maybe document it a little?)

And maybe you want to bikeshed a little on the module name mixed(maybe mixed_script?) and the trait name UnicodeMixedScript (the Unicode prefix feels a little redundant).

Otherwise looks good to me.

@Manishearth
Copy link
Member Author

@crlf0710 Zyyy and Zinh are already handled by the unicode-script crate. I'll leave a comment

Heh, I realized I should rename it and did so before seeing your comment. I've also moved the identifier status stuff into its own similarly-named module. I don't have strong opinions about the name.

@Manishearth
Copy link
Member Author

Actually, no, I hadn't gotten the Zyyy/Zinh stuff exactly right. I'll fix

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.

2 participants