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: Syntax analysis

ASSIGNMENT: Syntax analysis

Zahteve zaključka
Odprto: sreda, 28. februar 2024, 07.00
Rok za oddajo: sreda, 6. marec 2024, 07.00

Using the template for the 2nd assignment, you should write the syntax analyzer for the LANG'24 programming language. If the source file contains syntactically correct program, the syntax analyzer must be able to produce an .xml file containing a derivation tree (the accompanying .xsl file can be found in the template); otherwise, the syntax analyzer should produce a sensible error message and terminate as soon as the first mistake in the source file is discovered.

(Furthermore, modify the lexical analyzer to recognize symbols true and false.)

You should upload your solution as a zip file named xxxxxxxx-synan.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: Lexical analysis
TEMPLATE: Syntax analysis ►
Trenutno uporabljate gostujoči dostop (Prijavite se)
Pridobi mobilno aplikacijo Obvestilo o avtorskih pravicah
Stran poganja Moodle