Skip to content

String normalization: canonical forms and identifier case fold#34

Draft
egao1980 wants to merge 6 commits intoedicl:masterfrom
egao1980:master
Draft

String normalization: canonical forms and identifier case fold#34
egao1980 wants to merge 6 commits intoedicl:masterfrom
egao1980:master

Conversation

@egao1980
Copy link
Contributor

@egao1980 egao1980 commented Nov 7, 2022

This should allow implementation of the Unicode efficient canonical identifier caseless match. Something like that:

(defun indentifiers-match-p (a b)
  (equal 
    (cl-unicode:identifier-case-fold-mapping (cl-unicode:normalization-form-d a))
    (cl-unicode:identifier-case-fold-mapping (cl-unicode:normalization-form-d b))))

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.

1 participant