Open der-ali opened 5 years ago
for a grammar
A -> id | B | a B -> id b
the left factoring result should be
A -> id A' | a A -> ϵ | b
since it is like A -> id | id b | a
A -> id | id b | a
for a grammar
the left factoring result should be
since it is like
A -> id | id b | a