Recent questions tagged grammar

0 votes
2 answers
101
0 votes
1 answer
104
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
107
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
109
1 votes
1 answer
112
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
113
0 votes
2 answers
114
0 votes
1 answer
116
1 votes
0 answers
117
An $\epsilon$ free LL(1) grammar is also a SLR(1) and hence LALR(1) and LR(1) too.Is this statement true ?
0 votes
0 answers
119
0 votes
0 answers
120
Which of the following problem is undecidable?A) membership problem for CFLB) membership problem for regular languageC)membership problem for cslD)membership problem for ...