The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
847 views

closed as a duplicate of: Viable Prefix
asked in Compiler Design by Active (1.2k points)
closed by | 847 views

1 Answer

+1 vote

Viable prefix : The prefixes of right sentential forms that can appear on the stack of a shift-reduce parser are called viable prefixes.

Simple design LR(1) DFA. then u get the ans. Ans will be d and b respectively.

follow this : http://www.cs.cornell.edu/courses/cs412/2007sp/lectures/lec09.pdf

answered by Veteran (61.5k points)
edited by
0
actually ans given wrong, now fine thanks
0

@Mk Utkarsh please help.

0

 i'm confused too :(

0
Okay! :(

Related questions

+2 votes
1 answer
2
asked Nov 12, 2016 in Compiler Design by KISHALAY DAS Active (4.9k points) | 1.1k views
+2 votes
1 answer
4
asked Jul 18, 2015 in Compiler Design by Suvam Chatterjee (437 points) | 829 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,783 questions
54,511 answers
188,329 comments
75,113 users