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

closed as a duplicate of: Viable Prefix
asked in Compiler Design by Active (1.8k points)
closed by | 807 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.4k 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 Loyal (6.6k points) | 1k views
+2 votes
1 answer
3
asked Jul 18, 2015 in Compiler Design by Suvam Chatterjee Junior (523 points) | 782 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

47,080 questions
51,342 answers
177,712 comments
66,675 users