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

Added support for UTF-8 #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added support for UTF-8 #110

wants to merge 1 commit into from

Conversation

imbrem
Copy link

@imbrem imbrem commented Jul 23, 2024

Some design decisions:

  • Nonterminals can now be any UTF-8 strings which do not contain any ASCII special characters, which are defined to be all ASCII characters (i.e. with codepoint ≤ 127) other than ['0'-'9']|['a'-'z']|['A'-'Z']
  • Nonterminals with Unicode names are escaped into TeX by mapping codepoints to base-16 shifted up by 16, i.e. with digits ghijklmnopqrstuv. So λ2, which is at codepoint 03bb, becomes \ottjrrTwo (with the default prefix \ott).
  • Invalid UTF-8 leads to an exception being thrown

@dc-mak
Copy link

dc-mak commented Jul 26, 2024

Peter says

  • Please run regressions
  • State what the output is for theorem prover backends
  • Please state what happens with index variables Γ1 .. Γn and other things.

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