Crate ruleset

Source

Modules§

prelude
The tailored set of APIs for normal usage.

Macros§

by_matches
A convenient utility to filter on an iterator of Reducers.
ruleset
A macro for defining a ruleset.

Structs§

Chart
A well-formed substring table.
Conclusion
A consequent symbol yielded from a reduction.
Consequence
A zero-antecedent suffix of a syntactic rule.
Consequent
A single consequent symbol of a syntactic rule.
Input
An input symbol.
Parser
A featureful wrapper around a Chart.
Reduction
A triple of a Reducible, a Reducer, and a Reductum.
Rule
A syntactic rule.
Ruleset
A sequence of syntactic rules.
Subrule
A non-zero-antecedent suffix of a syntactic rule.
Tree
A parsed syntax tree.

Enums§

Item
Either a Reducer or a Reduction.
Match
A trial of a reduction.
Reducer
Either an Input or a Conclusion.
Reducible
Either a Rule or a Reduction with the reductum being a Subrule.
Reductum
Either a Subrule or a Consequence.

Traits§

AnyError
Types that represent errors that can happen during reduction.
IteratorReducerExt
A sealed trait to add convenient methods to iterators of reducers.
Matcher
Types that can be implementations of Subrules.
SyntacticCategory
Types that formulate syntactic categories of a grammar.