For full details including the historical background to ECL please see: Expression Constraint Language - Specification and Guide
The following Introduction to simple ECL expressions is reproduced from the above guide section A.1 Simple Expression Constraints - Valid Expressions