• edited by
1,083 views
0 0 votes

I think follow(A) is given wrong. I am getting

follow(A) = {first (B), follow(S)} = {e, $}

2 Answers

0 0 votes
S-> ABA is a single production for S row and B->eA is single production for A row. So there is no multiple entries in S and A row.

A -> dA  enters at d column of A row and  A->Bc production enters at e column of A row.
A ->Ɛ enters at Follow(A)= {c, d, e $}

A ->Ɛ and A -> dA are in d column. and A->Ɛ and A->Bc are in e column.
Position:
Show:

Related questions

0 0 votes
0 0 answers
1.2k
1.2k views
0 0 votes
1 1 answer
744
744 views
0 0 votes
1 answers 1 answer
892
892 views
0 0 votes
1 1 answer
1.1k
1.1k views
focus _GATE asked Jan 11, 2017
1,053 views