Modify the previous homework to generate the three-address statements for a sequence of assignment statements.
Example: Input: x = 10 * y + 3 * y * z; w = -x Output: t1 = 10 * y t2 = 3 * y t3 = t2 * z t4 = t1 + t3 x = t4 t5 = -x w = t5
Make-up Homework (If you submit this one also, I will consider the best four).
Generate three address code for if-then, if-then-else, and while statements also.