Preskoči na glavno vsebino
Učilnica FRI 23/24
  • Domov
  • Več
Zapri
Preklopi iskalni vnos
Slovenščina ‎(sl)‎
English ‎(en)‎ Slovenščina ‎(sl)‎ Македонски ‎(mk)‎ Русский ‎(ru)‎ 한국어 ‎(ko)‎
Trenutno uporabljate gostujoči dostop
Prijavite se
Domov
Course Activities
Forumi Naloge Viri
Nedavno dostopani predmeti
You are not enrolled in any courses
  1. prbuni
  2. ASSIGNMENT: Linear intermediate code

ASSIGNMENT: Linear intermediate code

Zahteve zaključka
Odprto: četrtek, 18. april 2024, 00.00
Rok za oddajo: četrtek, 25. april 2024, 11.00

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 ►
Trenutno uporabljate gostujoči dostop (Prijavite se)
Pridobi mobilno aplikacijo Obvestilo o avtorskih pravicah
Stran poganja Moodle