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

Split char delimiters early and emit K"char" node #121

Merged
merged 1 commit into from
Oct 12, 2022

Conversation

c42f
Copy link
Member

@c42f c42f commented Oct 11, 2022

Here we split off char delimiters in the tokenizer rather than re-parsing them later during value conversion. Also add a K"char" internal node to cover the delimiters and the literal char content in the green tree.

This allows us to remove another special case token error kind (ErrorEofChar) and makes char representation in the tree similar to string representation.

Part of #88 and helps with #110

Here we split off char delimiters in the tokenizer rather than
re-parsing them later during value conversion. Also add a K"char"
internal node to cover the delimiters and the literal char content in
the green tree.

This allows us to remove another special case token error kind
(ErrorEofChar) and makes char representation in the tree similar to
string representation.
@c42f c42f mentioned this pull request Oct 11, 2022
33 tasks
@c42f c42f merged commit 4132d75 into main Oct 12, 2022
@c42f c42f deleted the c42f/separate-char-delims branch October 12, 2022 00:33
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.

1 participant