Arithmetic expression parser.