Closed Qqwy closed 3 years ago
It looks like the epsilon-separate transformation doesn't handle the case when a nullable nonterminal has only one production. This is a reduced example:
A -> .
I don't think it makes sense to apply epsilon separation in this case, because the new symbol A* would have no productions:
x -> b_1 | ... | b_n | .
==>
x -> x* | .
x* -> b_1 | ... | b_n .
A -> .
==>
A -> A* | .
A* -> ?
5265500 should address this.
Also, thank you for reporting this!
The
Analyze
tab works correctly, but theTransform
tab does not show any results, and in the devtools we can see: