ASSIGNMENT: Lexical analysis

Odprto: sreda, 15. februar 2023, 00.00
Rok za oddajo: torek, 21. februar 2023, 07.00

Using the template for the 1st assignment, you should write the lexical analyzer for the PREV'23 programming language. If the source file contains lexicaly correct source, the lexical analyzer must be able to produce an .xml file containing a list of recognized symbols (the accompanying .xsl file can be found in the template); otherwise, the lexical analyzer should produce a sensible error message and terminate as soon as the first mistake in the source file is discovered.

You should upload your solution as a zip file named xxxxxxxx-lexan.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, but without antlr and generated files.