A basic command-line calculator to add, subtract, multiply and divided numbers.
> python Calculator.py "<operations>"
> python Calculator.py "5+3"
8
The calculator takes infix notation and converts it to a postfix notation using the Shunting Yard algorithm. The postfix notation is then converted into a tree structure, which recursively evaluates the nodes and thereby computes the results.
calculator, expression trees, algorihtm implementation, unittesting, python module packaging, python2, python