A complete minimal source file
# Track team tasks.
app Tasks
Given
Todo { title:text }
When
Then
page / title="Tasks"
Indentation defines suites; use one space per level. Declarations and fields use braces where the grammar calls for schemas. # lines attach prose descriptions to the next eligible declaration at the same column; ## lines are explanatory comments discarded by the parser. Inline hash comments are not valid. Strings use quoted literals; true, false, and null are values. Expressions and query tails have defined grammar and precedence—see expressions and derives.
The sample is a complete minimal app with an empty operation section. A snippet taken from a section is a fragment and needs an owning app/package and all referenced declarations. The syntax reference indexes productions; this page explains layout rather than duplicating every signature.