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
That whitespace rule is valid syntactically, and it could even be made to a diagram, but it contains infinite recursion, which causes the elimination logic to crash. Infinite recursion is not useful, because it can't produce anything. Yet it should be either be handled or the rule should be left untouched. I will create a fix.
But I would rewrite the rule to avoid infinite recursion and ambiguities. The recursive way to do this would be
Using the RR site to plot a graph, this recursive grammar (which I don't know if is valid input):
generates an exception:
The text was updated successfully, but these errors were encountered: