CSL Reference Information
For detailed information on the CSL language, see Cost Scripting Language Reference. That chapter also covers advanced constructs not discussed here, including set blocks, foreach expressions, and associative collection access.