/Compiler-PLY

Compiler to a self made imperative language

Primary LanguageC

Compiler-PLY

A compiler to a self made imperative programming language made in python, using the Lex and Yacc modules from the Ply library.

It generates pseudo assembly code used in the virtual machine provided by our colegues at the University of Minho.

Run

python3.8 compiler_yacc.py inputFile outputFile

Check example input files and its correspondent output files in the tests folder