retagged by
2,574 views
1 votes
1 votes

Example 3.3 

retagged by

1 Answer

1 votes
1 votes
  First Follow
$S$ $(d,h,g,a,b,\epsilon)$ $\$$
$A$ $(d,g,h,\epsilon)$ $(\$,h,g)$
$B$ $(g,\epsilon)$ $(a,h,g,\$)$
$C$ $(h,\epsilon)$ $(\$,h,g,b)$
edited by

Related questions

2 votes
2 votes
1 answer
1
3 votes
3 votes
1 answer
2
LavTheRawkstar asked Jun 25, 2016
1,517 views
Consider the Following GrammarP - SS - A | A ;S A - id = EE - E+E | E-E | E*E | E/E | (E) | TT - id | numCalculate FIRST and FOLLOW for each non terminal.
1 votes
1 votes
1 answer
3
learner_geek asked Jul 31, 2017
1,971 views
How to solve recursive first or follow problems as example in second question (First of A) please give detailed explanation.
0 votes
0 votes
1 answer
4
Subhrangsu asked Apr 15, 2022
2,207 views
Compute FIRST and FOLLOW sets:S→ aAC | bBA→ Abc| Abd | eB→ f | gC→ h | i