Redirected
closed by
731 views

2 Answers

1 votes
1 votes

E->E+T/T

T->T*F/F

F->(E)/id

  First(X) Follow(X)
E (,id $,+,)
T (,id $,+,),*
F (,id $,+,),*

Related questions

3 votes
3 votes
1 answer
1
LavTheRawkstar asked Jun 25, 2016
1,423 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
kallu singh asked Sep 5, 2017
384 views
Q. Consider the following grammar :1. S → XYX 2. X → Yc3. X → sX 4. X → ε5. Y → eXFind the first an...
1 votes
1 votes
0 answers
4
aditi19 asked May 12, 2019
1,649 views
why do first sets can have epsilon symbol but follow sets don’t?P.S: I’ve a silly doubt :P