Module parsing

Module parsing 

Source
Expand description

Module to define the core parsing algorithm used to generate or parse strings from MGs

Re-exports§

pub use rules::RulePool;

Modules§

beam
Module which defines how the different beams used by Lexicon::parse or Lexicon::generate work.
rules
Defines helper functions which allow one to record the structure of a parse.

Structs§

GornIndex
A Gorn Address which marks the path to a node in a tree. For example, [] is root, [1] is the second child and [1,0] is the first child of the second child of the root.

Constants§

MAX_STEPS
A compile time limitation on the maximum number of steps in a derivation (set to 128).