Replies: 3 comments
-
When parsing
|
Beta Was this translation helpful? Give feedback.
-
Thank you for this issue. it was a very helpful example of a recursive pattern. You have helped me get unstuck! |
Beta Was this translation helpful? Give feedback.
-
I had a similar performance issue with rules of the form One more issue that caused exponential parsing time was in the form of It is quite hard to find those when there is some nesting and indirection. |
Beta Was this translation helpful? Give feedback.
-
Parsing this expr(ession)
a(b,{a(b,{a(b,{a(b,{a(b,{a(b,{a(b,{a(b,{})})})})})})})})
with this grammar
is extremely slow (takes multiple minutes, and gets exponentially slower as you add more recursion).
Beta Was this translation helpful? Give feedback.
All reactions