Closed mitranim closed 1 year ago
This is also left recursion. It's because main
is already a repetition (main : something*
) and then you're writing main*
. Replacing main*
with main
will give an equivalent grammar that doesn't have this problem.
Closing in favor of #16.
Any of the following malformed definitions cause SBNF to hang forever:
I tried to narrow it down more, but ran out of ideas for now.