Replies: 1 comment
-
Looking at the implementation it's:
I am wondering if we need to implement identifier scanner in the external scanner eventually. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have an issue (#141) to support leading infix operators
The doc defines them as
What is a symbolic identifier, formally? Is it
op
from the syntax reference?Our tree-sitter grammar does not define a separate rule this type of identifier, it's being a part of
$.operator_identifier
Probably, if we had a separate rule for this symbolic identifer, we could tweak the external scanner to stop issuing AUTOMATED_SEMICOLON tokens when encountering a valid position for leading infix expression
Do you have any thoughts on this? 🤔
Beta Was this translation helpful? Give feedback.
All reactions