update parser, support 4 arithmetic operations