4. For the expression a. Draw the Syntax Tree b. Draw the Directed Acyclic Graph (DAG) ((a+b)-((a+b)*(a-b)))+((a+b)/(a-b
Posted: Sat Jul 09, 2022 11:47 am
4. For the expression a. Draw the Syntax Tree b. Draw the Directed Acyclic Graph (DAG) ((a+b)-((a+b)*(a-b)))+((a+b)/(a-b)) For the expression x := (a + b* c) / ((d- e) * (f - g)) c. Translate the expression above as an intermediate code in the form of Three Address Code d. Implement the three address code answers c above in the form Quadruple and Triple