class Rley::Syntax::Grammar

A grammar specifies the syntax of a language.

Formally, a grammar has:
* One start symbol,
* One or more other production rules,
* Each production has a rhs that is a sequence of grammar symbols.
* Grammar symbols are categorized into:
  -terminal symbols
  -non-terminal symbols