Skip to main content
Učilnica FRI 23/24
  • Home
  • More
Close
Toggle search input
English ‎(en)‎
English ‎(en)‎ Slovenščina ‎(sl)‎ Македонски ‎(mk)‎ Русский ‎(ru)‎ 한국어 ‎(ko)‎
You are currently using guest access
Log in
Home
Course Activities
Assignments Forums Resources
Recent Courses
You are not enrolled in any courses
  1. prbuni
  2. ASSIGNMENT: Linear intermediate code

ASSIGNMENT: Linear intermediate code

Completion requirements
Opened: Thursday, 18 April 2024, 12:00 AM
Due: Thursday, 25 April 2024, 11:00 AM

Using the template for the 8th homework, you should implement the generation of the linear intermediate code.  The generated linear code can be tested using the small interpreter (if the function result is void, the function should still store some value into variable RV to keep the interpreter happy).  Please post some test programs to forum - it will help you all a lot (but I added some test programs in prg directory).

As agreed in the classroom there are a few simplifications you need to make:

1. Characters in arrays are padded to 8 byte boundaries.
2. The casted expression is not lvalue anymore.
3. The newline character (\n) should be translated into \0A.

You should upload your solution as a zip file named xxxxxxxx-imclin.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.

◄ TEMPLATE: Intermediate code generator
TEMPLATE: Linear imtermediate code ►
You are currently using guest access (Log in)
Get the mobile app Obvestilo o avtorskih pravicah
Powered by Moodle