Question: (Parse tree) (15) a) (8) Draw a parse tree of the program best (1, 2, 3) using the following grammar where comma, 1d, number, Ipar
(Parse tree) (15) a) (8) Draw a parse tree of the program best (1, 2, 3) using the following grammar where comma, 1d, number, Ipar and xpor are tokens Tokens lpas, rpat and comma refer to characters '(7 and respectively -> number -> 6 b) () Draw a decorated pane tree of the program best. 2) 3) using the following attributo grammar where comuna, id, number, par and spar are tokens ans in part a) Id. value is the string value of the 10 token Id ipar carglit) Ipar ctuall> 10.value number listrasi CarGli>. -> number Cliattails attai1>1.X 1 Cltat1811>2.X + 1 -> 11 Tail. O (Parse tree) (15) a) (8) Draw a parse tree of the program best (1, 2, 3) using the following grammar where comma, 1d, number, Ipar and xpor are tokens Tokens lpas, rpat and comma refer to characters '(7 and respectively -> number -> 6 b) () Draw a decorated pane tree of the program best. 2) 3) using the following attributo grammar where comuna, id, number, par and spar are tokens ans in part a) Id. value is the string value of the 10 token Id ipar carglit) Ipar ctuall> 10.value number listrasi CarGli>. -> number Cliattails attai1>1.X 1 Cltat1811>2.X + 1 -> 11 Tail. O