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

Make comma a delimiter #1525

Merged
merged 1 commit into from
Sep 12, 2022
Merged

Make comma a delimiter #1525

merged 1 commit into from
Sep 12, 2022

Conversation

lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz commented Sep 8, 2022

This PR introduces the category of non-keyword delimiters into the lexer. Delimiters can be identifiers only by themselves, i.e., they do not combine with other characters. For now, the comma , is the only delimiter. This allows the users not to write spaces before commas and still have them recognized as separate identifiers, as a nearly-universal convention dictates.

Fixes the most important part of issue #1495.

@lukaszcz lukaszcz added the syntax label Sep 8, 2022
@lukaszcz lukaszcz added this to the 0.2.5 milestone Sep 8, 2022
@lukaszcz lukaszcz self-assigned this Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants