[][src]Module liblet::automaton

A module for working with automaton and transitions.

This module can help abstracting over regular grammars, seeing them as automaton. It collaborates strictly with the other modules of the library in order to be as easy as possible to work with.

Structs

Automaton

The main type of this module.

Transition

A transition data structure to help abstracting automaton transitions

Enums

AutomatonError
TransitionError

Functions

automaton

Convenience method for creating a an automaton.

automaton_with_q0

Convenience method for creating a an automaton with a specified q0 state.

transition

Convenience method for creating a transition of symbols from a string.

transitions

Convenience method for creating a collections of transitions from a string.