To build the Calculator parser, first install BisonGen. Then to compile the actual parser run: BisonGen simple.bgen This will create the parsers, simple.py and simple.c. To test the parser, simply execute the test.py script: python test.py