In this assignment, you will add support for procedures and procedure calls to the intermediate language. You will then write some procedures that call each other.
In Transformations.scala,
in compilerA5
, complete the implementation of:
eliminateCalls
frame
addEntryExit
eliminateVarAccessesA5
In A5.scala, complete the implementation of:
printProcedure
printArray
treeHeight