Use the translation functions in Fig. 6.3 to generate code for the expression 2+g(x+y,x*y). Use a vtable that binds x to v0 and y to v1 and an ftable that binds g to _g. The result of the expression should be put in the intermediatecode variable r (so the place attribute in the initial call to TransExp is r).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here