1,459 views
1 1 vote

Que 3) Consider the following statements:

$S_1$: Handle is a sub-string that matches right side of production whose reduction to non-termnial on left sides of production represents one step along the reverse of left-most derivation.

$S_2$

: Viable prefixes of grammar G are those prefixes of right sentential form that appears on stack of shift reduce parsing.

Which of the following is true?

  1. Only $S_1$
  2. Only $S_2$
  3. Both $S_1$ and $S_2$

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
0 0 answers
63
63 views
Toufiq Hussain asked Sep 20
63 views
Check if it's LR(1) or not? Please draw the DFA too.S ➔ S1 I 0S1 | 1
0 0 votes
1 1 answer
176
176 views
1 1 vote
0 0 answers
167
167 views
Tin_ku asked Aug 2
167 views
We know that the class of languages of LR(0), SLR(1), LALR(1), CLR(1) is the class of DCFLs, with the only exception being that...An LR(0) language is a DCFL that has the...