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

Do the double guillemets become part of the identifier name? #191

Open
nielsvoss opened this issue Dec 8, 2024 · 1 comment
Open

Do the double guillemets become part of the identifier name? #191

nielsvoss opened this issue Dec 8, 2024 · 1 comment

Comments

@nielsvoss
Copy link
Contributor

nielsvoss commented Dec 8, 2024

Describe the error

In 3.1.1.2.3. Keywords and Identifiers:

Identifiers components may also be surrounded by double guillemets ('«' and '»'). Such identifier components may contain any character at all, aside from '»', even '«' and newlines.

Why is it incorrect and/or confusing?

I think it's unclear if the double guillemets become part of the identifier name, or if they just act as a way to let you write identifiers that might involve reserved keywords or illegal characters (like backticks in Kotlin). Basically, do «apple» and apple mean different things?

Also a minor nitpick: not sure if there should be a comma between "all" and "aside". Also, is it really true that all characters are legal, including things like non-printing characters, control characters, RTL marks, null bytes, EOF characters, etc.?

@david-christiansen
Copy link
Collaborator

These are very good questions that need to be addressed, but part of addressing it may be a patch to the parser to help it remain clear. I'll follow up - thanks!

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

No branches or pull requests

2 participants