retagged by
718 views
2 votes
2 votes

For the given grammar consider the statements:

$S'  \rightarrow S$
$S  \rightarrow aAd \mid bBd \mid aBe \mid bAe$
$A  \rightarrow c$
$B  \rightarrow c$

Which of the following statement is/are true?

S1: The given grammar is LR(l).

S2: On merger the grammar will generate reduce reduce conflict.

  1. Only S1
  2. Only S2
  3. Both S1 and S2
  4. None of S1 and S2
retagged by

1 Answer

Best answer
7 votes
7 votes

see this , s2 is also true.

selected by
Answer:

Related questions

1 votes
1 votes
1 answer
3
Bikram asked Jan 16, 2017
395 views
Match the following:List IList IIABackus Naur form 1Regular expressionBLex2$\left ( I \right )$$LALR$CYacc3$LL$$\left ( 1 \right )$DRecursive descent parsing 4$CFG's$ $...