Crate cfg

source ·

Re-exports§

Modules§

  • Binarized rules are rules that have at most two symbols on the right-hand side. A binarized grammar contains only such rules.
  • Precedenced rules are built with the builder pattern.
  • This module defines grammar rules. Each rule in a context-free grammar consists of a single symbol on its left-hand side and an array of symbols on its right-hand side. In this library, each rule carries additional value called “history.”

Structs§

  • Representation for grammars where right-hand sides of all rules have at most two symbols.
  • Basic representation of context-free grammars.
  • A common grammar symbol type.
  • A source of numeric symbols.

Enums§

Traits§

Type Aliases§