Expression parser and evaluator with reverse polish notation.