add support for multiple statements, and fix the arithmetic operation parsing