Expressions & operators
Expressions and the operator stack, from the assignment root down through the precedence ladder to calls, literals, and the collection and JSON forms.
Return to the grammar overview.
Terms#
These are the words you write in this part of the language. Each links to its page. The second column names the grammar rule the word belongs to.
| Term | Grammar rule |
|---|---|
or | aut_expr |
and | et_expr |
is, is, not | equality_tail |
before, step, until | range_tail |
coalesce | vel_expr |
before, step, until | vel_range_tail |
not | unary_expr |
spread | argument |
spread | template_argument |
false, null, true | literal |
self | primary |
call | ad_expr |
tuple | iuncta_expr |
from | construction_source |
variant | finge_expr |
comptime | praefixum_expr |
format | scriptum_expr |
read, line | lege_expr |
primus_quem | first_match_expr |
from, const, sum, var | summa_expr |
from | extrema_expr |
coalesce | extrema_identity |
Formal grammar#
The rules for this part of the language are the parser's own definition of it. They are written for models and tools, so this page does not repeat them; the full list is at every production.