CCL Syntax Reference
Core Syntax
Section titled “Core Syntax”Key-Value Pairs:
key = valuename = Aliceport = 8080Empty Values (Sections):
database = host = localhost port = 5432Empty Keys (Lists):
items = = first item = second itemComments:
/= This is a commentMultiline Values:
description = This is a long description that spans multiple lines and preserves indentationQuick Reference
Section titled “Quick Reference”| Syntax | Purpose | Example |
|---|---|---|
key = value | Assignment | name = Alice |
key = | Section | server = |
= value | List item | = item |
/= text | Comment | /= Note |
| Indentation | Nesting | nested = value |
Edge Cases
Section titled “Edge Cases”Equals in values:
formula = E = mc²url = https://example.com?key=valueDots in keys (literal characters):
database.host = localhostfile.txt = content⚠️ Dotted keys are literal strings, not nested structures. See Dotted Keys Explained.
Unicode support:
greeting = Hello, 世界! 🌍author = François MüllerWhitespace handling:
- Keys are trimmed:
key = value→"key" - Values preserve trailing spaces
- CRLF vs LF: CCL treats only LF as a newline, so CRs present are preserved as-is