Recent questions tagged grammar

0 votes
0 answers
100
0 votes
2 answers
103
0 votes
1 answer
106
consider the grammar G: S->A|B A->a|c B->b|c where {S,A,B} are non-terminals,{a,b,c} are terminals.Does LR(1) can parse all strings that are generated by gr...
0 votes
1 answer
109
Consider the language defined as L = { $a^pb^qa^r$ | p = q or q = r} .L complement isRegularCFL but not regularCSL but not CSLDCFL
0 votes
1 answer
111
1 votes
1 answer
114
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...
0 votes
1 answer
115
0 votes
2 answers
116
0 votes
1 answer
118
1 votes
0 answers
119
An $\epsilon$ free LL(1) grammar is also a SLR(1) and hence LALR(1) and LR(1) too.Is this statement true ?