A parser for simple mathematical expressions.