pre-parse expressions