Calculator  Step 2
Calculator Documentation

This is step 2 of the calculator project in Exploration 68 of Exploring C++: The Programmer's Introduction to C++.

This version of the calculator implements simple arithmetic. It uses a recursive-descent parser and immediately evaluates expressions using double for all values. It adds variables and assignments to step 1.

To declare a variable, use:

var NAME = EXPRESSION