Using the template for the 7th homework, you should implement the generation of the intermediate code. The operational semantics of the programming language PREV'21 is given in the definition of the language, the intermediate code is included in the template.
You should upload your solution as a zip file named xxxxxxxx-imcgen.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.