edited by
1,235 views
1 votes
1 votes

Consider the following Translation rules for the Grammar G :

What will be the output for input string abebebe for bottom up parser ?

  1. CBBPBPBP
  2. CBBBPPBB
  3. CBPBPBPB
  4. CBPBBPPB
edited by

1 Answer

1 votes
1 votes
None ...no option are matching ...either question should mention ...top down parser

Related questions

5 votes
5 votes
2 answers
2
vaishali jhalani asked Jan 7, 2017
1,413 views
$\begin{align*} &E\rightarrow E+E \qquad {\color{red}{\text{E.val} = \text{E}_1\text{.val} { \;\;\large + \;\; } \text{E}_2\text{.val}}} \\ &E\rightarrow E*E \; \qquad {\...