1

This is the original grammar:

S -> ABe
A -> ab | a | ϵ
B -> b

I did try left factoring and this is what I got:

S -> ABe
A -> aX | ϵ
X -> b | ϵ
B -> b 

But it still is not LL(1).

Asnira
  • 111
  • 1

0 Answers0