[][src]Module liblet::derivation

Module for handling all derivation related operations.

Its goal is to emulate derivation on grammars.

It defines a Derivation type which can be used to conveniently work with grammar and derive them in many ways.

Structs

Derivation

The main type of this module.

DerivationStep

A useful abstraction over derivation steps.

Enums

DerivationError

Functions

derivation

Convenience function for creating a derivation from a grammar.

step

Convenience function for creating a step from a production index and a sentential form symbol index.