Skip to main content
Testna Učilnica FRI 24/25
  • Home
  • More
Close
Toggle search input
English ‎(en)‎
English ‎(en)‎ Slovenščina ‎(sl)‎ Македонски ‎(mk)‎ Русский ‎(ru)‎ 한국어 ‎(ko)‎
You are currently using guest access
Log in
Testna Učilnica FRI 24/25
Home
Expand all Collapse all
  1. prbuni
  2. 26 February - 3 March
  3. ASSIGNMENT: Syntax analysis

ASSIGNMENT: Syntax analysis

Completion requirements
Opened: Wednesday, 28 February 2024, 7:00 AM
Due: Wednesday, 6 March 2024, 7:00 AM

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.

You are currently using guest access (Log in)
Powered by Moodle
Obvestilo o avtorskih pravicah