DSL builder for defining context-free grammars
Instance methods
Convenience overload for list of terminal string options (shorthand for single-token choices)
SourceDefine a production rule with an array of tokens and optional weight
SourceConvenience overload for passing multiple string/symbol arguments
Source