2,697 views
1 votes
1 votes
Find First and Follow of the given grammar

$S \rightarrow aSa | bSb|A$

$A \rightarrow aBb$

$B \rightarrow aB|bB|\epsilon$

1 Answer

Best answer
4 votes
4 votes

Here it is ......

selected by

Related questions

1 votes
1 votes
7 answers
1
Rakesh K asked Oct 13, 2016
5,348 views
How to find FIrst and Follow in following case?S - aAbB | bAaB | epsilonA - SB - SI am little confused because of the production A->S, does it say that Follow(A) is subse...
0 votes
0 votes
1 answer
2
Subhrangsu asked Apr 15, 2022
2,225 views
Compute FIRST and FOLLOW sets:S→ aAC | bBA→ Abc| Abd | eB→ f | gC→ h | i
1 votes
1 votes
0 answers
3
aditi19 asked May 12, 2019
1,695 views
why do first sets can have epsilon symbol but follow sets don’t?P.S: I’ve a silly doubt :P
0 votes
0 votes
1 answer
4
saumya mishra asked Jun 3, 2018
3,271 views
Find first and follow of the given grammar?S->ABA->BS/a/€B->AS/b