Parser for the arithematic language