ASSIGNMENT: Intermediate core linearizator

Odprto: sreda, 13. april 2022, 07.00
Rok za oddajo: sreda, 20. april 2022, 07.00

Using the template for the 8th homework, you should implement the linearization of the intermediate code.  Once the intermediate code is linearized, you should produce the list of data and code fragments.  A data fragment contains a translation of a single static variable or a string constant.  A code fragment contains a translation of a body of a single function.  You should verify your compiler using the small naive interpreter (included in the assignment template).

You should upload your solution as a zip file named xxxxxxxx-08.zip where xxxxxxxx stands for you student identification number.  The contents of the uploaded zip file must have exactly the same directory structure as the template.  The uploaded zip file must contain complete source distribution (including the previous phases), but without antlr and generated files.