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

Unicode Cleanup: many of the unicode-full.yaml files should use ranges for the alphanumerics #289

Open
NSoiffer opened this issue Sep 26, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@NSoiffer
Copy link
Owner

Many of the unicode-full.yaml still use individual entries instead of a range and the spell hack. For example:

 - "𝟎-𝟗":    # 0x1d7ce - 0x1d7d7  
    - t: "B"
    - spell: "translate('.', '𝟎𝟏𝟐𝟑𝟒𝟓𝟔𝟕𝟖𝟗', '0123456789')"

Doing the latter significantly decreases the size of the files and speeds up reading. I think most of the braille files need this. They might also be able to do this for the Greek letters in unicode.yaml also. However, one needs to be careful about the mapping of the Greek letters to the roman ones -- they aren't consistent across languages.

@NSoiffer NSoiffer added the good first issue Good for newcomers label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant