seed Grammar
The normative operational grammar is maintained in
seed/compiler/llvm/LANGUAGE_GRAMMAR.md. This book page intentionally avoids a
second grammar copy that can drift.
The root normative language specification is seed Language Specification.
Current lexical contract:
.sdfiles are UTF-8;- comments and strings may contain Unicode;
- value names use ASCII lower snake case; nominal types and variants use ASCII UpperCamelCase;
- constants are ASCII upper snake case;
- comments use
//and nestable/* ... */; - early return uses
return; - ADTs use
enum; - phase-1/2 f-string interpolation is implemented for text, bool, integers, floats, format specifications, and static display/debug traits;
- built-in channel/send/recv syntax is not implemented; those facilities are
provided by the ordinary
tasklibrary.
See Language Reference for the user syntax and CLI summary.