MattiaRiola / FLC-practice

0 stars 0 forks source link

FLC Practice part

Here are stored the ercesises done for the practice part of the FLC course

Guide

unzip files

linux command:

tar -xf <file>

Installation instructions

you can follow the steps in this link

Is it working?

You can check if all is installed properly using the example in exClass-2 folder

Steps for exams

  1. Identify all the token and write them both in the scanner.jflex and in the parser.cup
  2. Start to write the grammar with the start symbol and then contiue adding non terminal symbols (but remember to add them in the declaration part of the parser)
  3. Write precedences

    Credits

The material is taken from: https://www.skenz.it/compilers