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?
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?