Compiler project for Formal Languages & Translation Techniques 2015 classes.
Formal Languages & Translation Techniques classes by Maciej Gębala http://ki.pwr.edu.pl/gebala/dyd/jftt2015.html
Author: Adam Bobowski
Requirenments:
- python 2.7.x (tested on 2.7.6)
- PLY (python package) (tested on 3.8)
Instalation: Get Python-Lex-Yacc (PLY) from pip
$ sudo apt-get install python-pip
$ sudo pip install ply
Compilation with Yamc:
$ python yamc.py [file] [--out OUT]
if OUT ommited returns a.mr
If chmod +x can be run as script:
$ yamc.py [file] [--out OUT]