Wilhelm, R., Seidl, H. (2010). Compiler Design: virtualmachines. page 150
9. Translation of Programs. Translate the program rev(X,Y,Z)rev(X,Y,Z)reverse(X,Y)⇐X=[],Y=Z⇐X=[H∣L],rev(L,[H∣Y],Z)⇐rev(X,[],Y)⇐reverse(X,[4,2,1]) into WIM code. Apply the optimization of last goals.
Wilhelm, R., Seidl, H. (2010). Compiler Design: virtual machines. page 150
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Wilhelm, R., Seidl, H. (2010). Compiler Design: virtual machines. page 150
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!