Recent questions tagged grammar

0 votes
1 answer
151
L(G)={$a^mb^n$|m>n>=1} is the language context free?
0 votes
2 answers
153
Please provide example to disapprove the following points:-1.every DCFG need not be a LR(K).2.every DCFG need not be a LL(K).3.every DCFL is not LL(k).
0 votes
3 answers
155
0 votes
1 answer
158
A grammar will be meaningless of the(a) terminal set and non-terminal set are not disjoint(b) left hand side of a productions is a single terminal(c) left hand side of a ...
0 votes
1 answer
159
1 votes
4 answers
164
1 votes
1 answer
166
2 votes
2 answers
167
Find First and Follow in the following grammar.$E\rightarrow E+T \mid T$$T\rightarrow TF \mid F$$F\rightarrow F^* \mid a \mid b$
0 votes
5 answers
168
Total number of Handles for $(w=aa)$ in the following grammar ?$S\rightarrow DT$$D\rightarrow aa$$T\rightarrow \epsilon$
0 votes
1 answer
169
Can someone explain these terms clearly these terms with examples?Attribute GrammarSynthesized attributesInherited attributesL and S Attributes
0 votes
5 answers
171
consider the following grammar$E\rightarrow int|int+E|int-E |int-(E) |int*E$Which statement is true?a) Grammer is left factoredb) Cant be determined
0 votes
1 answer
172
Given a grammar :$E \rightarrow E + T / T$$T \rightarrow i$Can I directly say that grammar is not $LL(1)$ because $LL(1)$ can't parse Left Recursive Grammar, without dra...
0 votes
1 answer
180
Can I give any grammer for the language L = { anbncn / n>=1} Like this