This post is part of a series about building a simple mathematical expression evaluator. For previous posts and full source code see Table of Contents.
In previous part we added support for variables but it has a big disadvantage: values of the variables are bound by position and not by name. This means that you should pass values for the variables in the same order as they appear in the expression. For example the following test will fail: Continue Reading →