1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Pattern matching operations.
//!
//! The pattern family holds the vyre-std DFA assembly pipeline:
//!
//! ```text
//! regex_to_nfa → Nfa → nfa_to_dfa → Dfa → dfa_minimize → Dfa → dfa_pack → PackedDfa
//! ```
//!
//! Aho-Corasick construction for literal-pattern sets is a planned
//! companion primitive; see
//! `coordination/L.1.4-aho_corasick_build-rewrite-deferred.md` for the
//! rewrite owed against the new `pattern::types` abstractions.
/// Shared types used by every stage of the DFA assembly pipeline.
/// Thompson-construction regex → NFA compiler.
/// Subset-construction NFA → DFA converter.
/// Hopcroft's DFA minimization.
/// Transition-table packing for GPU dispatch.
/// Composite entry point: patterns → packed GPU DFA in one call.
/// Content-addressed DFA compilation cache (skip the pipeline on repeat calls).
pub use ;
pub use dfa_minimize;
pub use ;
pub use nfa_to_dfa;
pub use regex_to_nfa;
pub use ;