DSL Grammar

This page will later define the formal rules that describe valid programs and how expressions are grouped.

Scope

  • Describe rules with a compact notation such as EBNF.
  • Encode precedence and associativity explicitly.
  • Keep the grammar maintainable as the language grows.

Next Steps

  1. Write example productions for key constructs.
  2. Highlight recursive and optional forms.
  3. Add error cases later.