Compiler Final Project

Using python ply to prase grammar.

Features

How to run

under the python folder

python3 yacc.py < input_filename

or automatically run through all the public test data

./run_test.sh 1 8 1 2 3

1st number: start with # basic feature 2nd number: end with # basic feature 3rd number: start with feature's # test data 4th number: end with feature's # test data 5th number: end with # bonus feature