Simplify the given grammar: S->aXb X->aXb | e

Lò Ngọc

New member
Simplify the given grammar:
S->aXb
X->aXb | e
A. S->aXb | ab, X-> aXb | ab
B. S->X | ab, X-> aXb | ab
C. S->aXb | ab, X-> S | ab
D. None of the mentioned
 

Tìm kiếm

Back
Top