0 0 votes Given the following statement: 6 * (8-3) Make the Annotated Parse Tree based on the translation scheme below. S → B {A.i = B.val} A {S.val = A.s} A → - B {A1.i = A.i - B.val} A1 {A.s = A1.s} A → e {A.s = A.i} B → D {C.i = D.val} C {B.val = C.s} C → * D {C1.i = C.i * D.val} C1 {C.s = C1.s} C → e {C.s = C.i} D → ( S ) {D.val = S.val} D → num {D.val = num.val} Compiler Design compiler-design syntax-directed-translation descriptive + – Frengky 1.3k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes Ig we get 6 levels of nodes in the parseTree, and soln=30 (?) Vishnu__ answered Apr 19, 2022 Vishnu__ comment Share Follow 0 reply Please log in or register to add a comment.