Thanks! Fun was the main motivation for this project.
Parsing strings into expressions is something that math.js offers currently with math.parse and expression trees[0]; I was discussing it with the author the other day[1].
[0] http://mathjs.org/docs/expressions/expression_trees.html