1 votes 1 votes Consider the following Translation rules for the Grammar G : What will be the output for input string abebebe for bottom up parser ? CBBPBPBP CBBBPPBB CBPBPBPB CBPBBPPB Compiler Design compiler-design syntax-directed-translation made-easy-test-series + – Na462 asked Jan 13, 2019 edited Mar 4, 2019 by ajaysoni1924 Na462 1.2k views answer comment Share Follow See all 15 Comments See all 15 15 Comments reply Show 12 previous comments Mk Utkarsh commented Jan 21, 2019 reply Follow Share Na462 had it be top down or bottom up, print when you encounter any semantic action 1 votes 1 votes kirtipurohit commented Feb 26, 2021 reply Follow Share Its private . Can you please make available? @Mk Utkarsh 0 votes 0 votes Hradesh patel commented Feb 26, 2021 reply Follow Share I think Option C is correct according to TOP DOWN parser. Is it BPBPBPBC in BOTTOM UP parser?? Please check and explain Thanks. 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes None ...no option are matching ...either question should mention ...top down parser Anup dogrial answered Jan 16, 2020 Anup dogrial comment Share Follow See 1 comment See all 1 1 comment reply reboot commented Aug 30, 2020 reply Follow Share Option ‘C’ is definitely correct. And yes, here even top-down will produce the same answer. 0 votes 0 votes Please log in or register to add a comment.