parse expressions