retagged by
448 views
0 votes
0 votes

#CD
compute first and follow for
S->SS+\SS*\a

retagged by

1 Answer

0 votes
0 votes

@pawan 

 

Direct left recursion occurs when the definition can be satisfied with only one substitution. It requires a rule of the form

A\to A\alpha

\alpha is a sequence of nonterminals and terminals 

 

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
Subhrangsu asked Apr 15, 2022
2,210 views
Compute FIRST and FOLLOW sets:S→ aAC | bBA→ Abc| Abd | eB→ f | gC→ h | i
0 votes
0 votes
2 answers
3
aditi19 asked Sep 14, 2018
477 views
S->AaA->BDB->b | ɛD->d | ɛwhat is FIRST(S)?
0 votes
0 votes
1 answer
4
saumya mishra asked Jun 3, 2018
3,260 views
Find first and follow of the given grammar?S->ABA->BS/a/€B->AS/b