basic math operation parser