Recent questions tagged first-and-follow

5 votes
1 answer
1
1 votes
3 answers
2
0 votes
1 answer
3
Does Follow and First operation always apply on non left recursive grammar?
2 votes
1 answer
4
0 votes
3 answers
5
0 votes
1 answer
6
0 votes
1 answer
10
X->aABeB->c | dA->aWhat will be the follow of A here?{c, d, $} or {c, d, e, dollar}
1 votes
0 answers
12
why do first sets can have epsilon symbol but follow sets don’t?P.S: I’ve a silly doubt :P
1 votes
1 answer
13
Consider the following grammar G shown Below :S → abS | ScS | d | cThe number of terminals in follow set of non-terminal S is ___________________ Is “$” symbol cons...
1 votes
1 answer
14
0 votes
2 answers
15
Consider the following CFG, with S as start symbol:S - aA l CBA - BaA I eB- bB l Abc l eC - B (HERE ‘e’ IS EPSILON OR NULL PRODUCTION)FIRST(B)?FOLLOW(C)?
0 votes
1 answer
16
0 votes
2 answers
17
S->AaA->BDB->b | ɛD->d | ɛwhat is FIRST(S)?
0 votes
1 answer
18
Compute follow of the following grammar?$E \rightarrow TE'$$E' \rightarrow +TE'/\epsilon$$T \rightarrow FT'$$T' \rightarrow ^*FT'/\epsilon$$F \rightarrow (E)/id$
0 votes
1 answer
19