This program uses a hierarchial context sensitive state machine(contextual state chart) to process a graph representing the control flow. The control flow describes how to evaluate a arithmatic expression.
Use python3 to run it python3 calculator_example.py