edited by
773 views
5 votes
5 votes

 Describe all the viable prefixes for the following grammars:

  1. The grammar $S\rightarrow 0S1\mid 01$ of Question $4.2.2(a)$.
  2. The grammar $S\rightarrow SS+\mid SS\ast\mid a$ of Question $4.2.1$.
  3. The grammar $S\rightarrow S(S)\mid \epsilon$ of Question $4.2.2(c)$.
edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
2 votes
2 votes
0 answers
3
admin asked Aug 20, 2019
365 views
Show that the following grammar:$S\rightarrow AaAb\mid BbBa$$A\rightarrow \epsilon$$A\rightarrow\epsilon$is LL(1) but not SLR(1).
0 votes
0 votes
0 answers
4