Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 407 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 407 Bytes

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