Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 563 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 563 Bytes

Arduino C Compiler

Final project for the Formal Languages and Compilers courses.

Usage

You can run this program with:

python program.py input_file.c [—-print]

When executed with no options, this program will print ‘OK’ if there are no lexycal/syntactic/semantic errors; otherwise, it will print the Error that was found.

When executed with the —-print option, if there are no lexycal/syntactic/semantic errors, it will print the Symbols’ Table, the Intermediary Code and the Warnings; otherwise, it will print the Error that was found.