ASSIGNMENT: Syntax analysis
Using the template for the second assignment, you must write a syntax analyzer for the Prev'25 programming language. If the source file contains a syntactically correct program, the syntax analyzer should generate an .xml file containing a derivation tree (the accompanying .xsl file can be found in the template). Otherwise, the syntax analyzer should produce a meaningful error message and terminate as soon as the first mistake in the source file is detected.
You must upload your solution as a ZIP file named xxxxxxxx-synan.zip, where xxxxxxxx represents your student identification number. The contents of the uploaded ZIP file must follow the exact directory structure of the template. The ZIP file must contain the complete source distribution (including previous phases) but should exclude ANTLR and generated files.