class Sequitur::DynamicGrammar

A dynamic grammar is a context-free grammar that can be built incrementally.

Formally, a grammar has:
One start production
Zero or more other productions
Each production has a rhs that is a sequence of grammar symbols.
Grammar symbols are categorized into
-terminal symbols (i.e. String, Ruby Symbol,...)
-non-terminal symbols (i.e. ProductionRef)