automata_core 0.1.4

Deterministic and nondeterministic finite-automata algorithms in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Concrete reference automata implementations.
//!
//! The types in this module are intentionally small and explicit:
//! - [`SimpleDFA`](dfa::SimpleDFA): deterministic transition table with
//!   `State × Input -> Option<State>`.
//! - [`SimpleNFA`](nfa::SimpleNFA): nondeterministic transition relation with
//!   `State × Input -> set of states`.

mod dfa;
mod error;
mod nfa;
mod state;

pub use dfa::SimpleDFA;
pub use error::SimpleBuildError;
pub use nfa::SimpleNFA;
pub use state::{SimpleDFAState, SimpleNFAState};