# COS301 - HW2 ## NICHOLAS PEASE # Contents calc.py - Main Program File # How to Use Start the program with python(3) calc.py. Program continues to accept input until a EOF or a forcible exit is encountered. Program accepts mathmatical expressions including addition, subtraction. multiplication, division, negation, parenthesis, modulus, and floor division. # Program Modifications Base file is from the ply repository found here (https://github.com/dabeaz/ply). All modifications have denoted comments stating I modified it and for the reason given.