implement `cpsExpr`, except logic operators