CSP-compliant expression parser suggested by cecchi