% Hook for the registry-generated canonical reference.
\section{Summary of the Grammar}\label{ch:reference}

The executable language registry generates this chapter.  It inventories
environments, commands, keys, scopes, value types, defaults, diagnostics, and
standalone examples.  The registry also drives parser registration, linting,
and the public-symbol census.

The tables name the vocabulary; they draw none of it.  For a construct's
picture, read Chapter~\ref{ch:catalogue}, which sets one drawn specimen per
family beside the source that produced it.

\IfFileExists{chapters2/generated-language-reference.tex}{%
  {\footnotesize\setlength{\tabcolsep}{1mm}%
   \input{chapters2/generated-language-reference.tex}}%
}{%
  \begin{quote}\small
  The generated reference is not present in this checkout.  Generate it from
  the executable language registry.  The semantic rules in
  Chapters~\ref{ch:install}--\ref{ch:recipes} still hold, but only the
  generated tables inventory the grammar.
  \end{quote}
}

The tables list the commands and keys for new documents.
