retagged by
773 views
1 votes
1 votes
How many DFA states are constructed for the following augmented grammar using LR(0) parser?

S'->S$

S->x|(A)

A->A,S|S

Where S is the start symbol and S′ → S$ is augmented production.

i got 11 state but ans is 10 . can you plz explain i don't know where i am wrong
retagged by

1 Answer

0 votes
0 votes
but, why are we going from state I1 to state I4? Is state I4  necessary state or it should be removed? Someone help me clearing this doubt.

Related questions

0 votes
0 votes
1 answer
1
1 votes
1 votes
1 answer
2
0 votes
0 votes
1 answer
3
asu asked Jan 7, 2016
314 views
0 votes
0 votes
2 answers
4