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

allow code points to be used directly in grammar without indirection #2930

Open
michaelficarra opened this issue Oct 7, 2022 · 0 comments · May be fixed by #3310
Open

allow code points to be used directly in grammar without indirection #2930

michaelficarra opened this issue Oct 7, 2022 · 0 comments · May be fixed by #3310

Comments

@michaelficarra
Copy link
Member

See #2781 (comment). Tables 37, 38, and 39 define abbreviations to be used with a grammar notation that allows referring to codepoints by these abbreviations. See §5.1.5.1 Terminal Symbols:

In the lexical and RegExp grammars, Unicode code points without a conventional printed representation are instead shown in the form "<ABBREV>" where "ABBREV" is a mnemonic for the code point. These forms are defined in Unicode Format-Control Characters and White Space.

I'd prefer to skip defining our own abbreviations used for indirection and just list the code points directly in the grammar using either the same notation or something similar.

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 a pull request may close this issue.

2 participants
@michaelficarra and others