Parse expressions with operator precedence