Can't figure out looking ahead #2103
Unanswered
IsotoxalDev
asked this question in
General
Replies: 1 comment 3 replies
-
What is some example input you are trying to parse, what is your desired syntax tree, and what is the syntax tree you are getting instead? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am creating a parser based on PEST. in that it was created like:
I tried a number of ways to do it in Tree sitter by doing precedence and choice. Also looked into external, but i want rules I have written in the grammer.js file to check or rewrite entirely in scanner.cc which would make it work but would lead me to spent another 8 hours(it took that to just do the same in grammer.js)
Beta Was this translation helpful? Give feedback.
All reactions