retagged by
381 views
1 votes
1 votes

Q.  Consider the following grammar :
1. S → XYX                             2. X → Yc
3. X → sX                                4. X → ε
5. Y → eX
Find the first and follow

retagged by

1 Answer

0 votes
0 votes
  First follow
S e,s $
X e,s,€ $,e,c,s
Y e $,e,c,s
edited by

Related questions

1 votes
1 votes
2 answers
1
0 votes
0 votes
1 answer
2
srestha asked Dec 24, 2017
342 views
Find Follow of F :$E\rightarrow E+T | T$$T\rightarrow T*F | F$$ F\rightarrow \left ( E \right ) |id$
0 votes
0 votes
2 answers
3
aaru14 asked Nov 22, 2017
271 views
E >TE/aT >ET/bfirst set of E and T??
0 votes
0 votes
1 answer
4
aaru14 asked Nov 22, 2017
335 views
X >Ya|fY >bY|dZ >cZ|eFOLLOW(Z)???