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

fix: tokenize alphanumeric strings correctly #52

Merged
merged 2 commits into from
May 27, 2024

Conversation

AgentElement
Copy link
Contributor

Bound variable names in abstractions that contained numbers did not parse correctly. For example, \x1. x would not tokenize because of the x1 under abstraction, but \x. x1 would. This commit allows any alphanumeric string not beginning with a number to be used as the name for a bound variable.

@ljedrz
Copy link
Owner

ljedrz commented May 27, 2024

That makes sense, thanks; can you just fix the one formatting nit and rebase (I fixed the new clippy lint)?

@AgentElement
Copy link
Contributor Author

Should now be done, thanks.

Copy link
Owner

@ljedrz ljedrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌

@ljedrz ljedrz merged commit ef56824 into ljedrz:master May 27, 2024
4 checks passed
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