1 votes 1 votes Construct the DAG for the expression $((x + y)-((x + y)\ast(x -y))) + ((x+y)\ast(x-y))$ Compiler Design ullman compiler-design three-address-code directed-acyclic-graph descriptive + – admin asked Sep 7, 2019 admin 2.6k views answer comment Share Follow See 1 comment See all 1 1 comment reply Arjun commented Nov 27, 2023 reply Follow Share https://gateoverflow.in/165112/%23dag-%23ullman 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes ((x+y)−((x+y)∗(x−y))) and ((x+y)∗(x−y)) expression needed to be added together at the end. So according to me, DAG should be following... logan1x answered Nov 7, 2019 logan1x comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes DAG for the expression ((x+y)−((x+y)∗(x−y)))+((x+y)∗(x−y)) aditi19 answered Oct 10, 2019 aditi19 comment Share Follow See 1 comment See all 1 1 comment reply logan1x commented Nov 7, 2019 reply Follow Share I think you missed this part "minus from the Top should be connected to multiply" because of this condition ((x+y)−((x+y)∗(x−y))) 2 votes 2 votes Please log in or register to add a comment.