166 views
1 votes
1 votes
What language does this grammar generate?

S-->(L)|a
L-->L,S|S

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
admin asked Sep 7, 2019
587 views
Add to the translation of Fig. $6.19$ rules for the following productions:$E\rightarrow E_{1}\ast E_{2}$$E\rightarrow + E_{1}\:$(unary plus)
0 votes
0 votes
0 answers
2
admin asked Sep 6, 2019
510 views
We mentioned in Section $5.4.2$ that it is possible to deduce, from the LR state on the parsing stack, what grammar symbol is represented by the state. How would we disco...
0 votes
0 votes
0 answers
3
admin asked Aug 20, 2019
437 views
Write a $Yacc$ program that takes boolean expressions as input [as given by the grammar of Question $4.2.2(g)$] and produces the truth value of the expressions.
0 votes
0 votes
0 answers
4