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

A somewhat imprecise definition of an identifier #3

Open
ghost opened this issue Oct 30, 2023 · 1 comment
Open

A somewhat imprecise definition of an identifier #3

ghost opened this issue Oct 30, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 30, 2023

@pczarn

(ASCII_ALPHA | "_") (ASCII_ALPHANUMERIC | "_")*

in the lexer, it is defined like this:

ch.is_ascii_alphabetic() || ch.is_numeric() || ch == '_'

https://doc.rust-lang.org/std/primitive.char.html#method.is_numeric supports Unicode

@ghost
Copy link
Author

ghost commented Oct 30, 2023

At first, I thought it was an issue in our lexer, but Kev asked me to create an issue here

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

0 participants