Parser for infix arithmetic expressions