retagged by
2,380 views

1 Answer

Best answer
2 votes
2 votes

Lookahead symbol is the next terminal that we will try to match in the input, whereas a set of terminals that can appear immediately to the right of a non-terminal in some sentential form is called Follow set.

selected by

Related questions

3 votes
3 votes
1 answer
1
LavTheRawkstar asked Jun 25, 2016
1,416 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.
2 votes
2 votes
1 answer
3
0 votes
0 votes
1 answer
4
Subhrangsu asked Apr 15, 2022
2,022 views
Compute FIRST and FOLLOW sets:S→ aAC | bBA→ Abc| Abd | eB→ f | gC→ h | i