1 votes 1 votes consider the grammer E->E+E / E*E / (E) /a THE NUMBER OF RIGHT MOST DERIVATION FOR THE SENTENCE (a) is ___________________________ Compiler Design parsing + – akankshadewangan24 asked Apr 25, 2017 edited Apr 26, 2017 by akankshadewangan24 akankshadewangan24 484 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply joshi_nitish commented Apr 25, 2017 i moved by Samujjal Das Apr 25, 2017 reply Follow Share i think (a) cant be derived from given grammer?? 0 votes 0 votes Arunav Khare commented Apr 26, 2017 reply Follow Share I think there is a mistake in ques, this rule should be E -> (E) instead of E -> E (E) 0 votes 0 votes Please log in or register to add a comment.
Best answer 0 votes 0 votes For this given grammar the answer will be only one Bcz E->(E)->(a) For the given grammar u can't find more than one possibility to derive (a) RiteshSingh answered May 7, 2017 selected May 8, 2017 by akankshadewangan24 RiteshSingh comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes I think Only One Right Most Derivation possible for the sentence (a). E -> (E) E-> a Correct me if I am wrong. Arnab Bhadra answered Apr 27, 2017 edited Apr 27, 2017 by Arnab Bhadra Arnab Bhadra comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Only 1 E->(E) ->(a) Priyanka Agarwal answered May 24, 2017 Priyanka Agarwal comment Share Follow See all 0 reply Please log in or register to add a comment.