You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to run some basic grammar that had some left recursion and realized that the parser doesn't seem to support that. Is there a reason for that/would it be possible for the parser to support that?
The text was updated successfully, but these errors were encountered:
Hello @clache547 , you are right. Our parser is a recursive descent parser which doesn't support left-recursion by construction. There are two solutions:
transform the grammar to avoid left-recursion, this is always possible. See this related issue
update the parser to a version that supports left-recursion such as Earley Parser. But we don't foresee such a major update in the short future.
I was trying to run some basic grammar that had some left recursion and realized that the parser doesn't seem to support that. Is there a reason for that/would it be possible for the parser to support that?
The text was updated successfully, but these errors were encountered: