2 votes 2 votes Compiler Design compiler-design viable-prefix parsing test-series + – KISHALAY DAS asked Nov 12, 2016 retagged Jul 18, 2022 by makhdoom ghaya KISHALAY DAS 3.1k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply . commented Nov 13, 2016 reply Follow Share is it B? 0 votes 0 votes KISHALAY DAS commented Nov 13, 2016 reply Follow Share Yes..please explain how? 0 votes 0 votes . commented Nov 13, 2016 reply Follow Share The prefixes of right sentential forms that can appear on the stack of a shift-reduce parser are called viable prefixes.By definition, a viable prefix is a prefix of a right sentential form that does not continue past the right end of the rightmost handle of that sentential form. Out of all strings generated by this grammer having a's at the start this is the shortest, reference http://cse.iitkgp.ac.in/~bivasm/notes/scribe/11CS30001.pdf 0 votes 0 votes shefali1 commented Jul 23, 2017 i moved by Mk Utkarsh Sep 27, 2018 reply Follow Share why not d? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Ans. Is b) https://gateoverflow.in/68764/bottom-up-parsing sid1221 answered Aug 21, 2017 sid1221 comment Share Follow See all 2 Comments See all 2 2 Comments reply rahul sharma 5 commented Oct 14, 2017 reply Follow Share Why not d? 0 votes 0 votes K Yadav commented Dec 18, 2020 reply Follow Share please elaborate this ques more 0 votes 0 votes Please log in or register to add a comment.