
From expressions to automata
Parsing determines the structure of the nondeterministic finite automaton. Determinisation treats a set of reachable states as one DFA state. Minimisation merges states with the same behaviour for every possible input suffix.
Verification
Examples cover matching, alternation, groups and language operations. The repository includes NFA and DFA sources and a test directory.
The C++ implementation includes the automaton in dfa.hpp and dfa.cpp. Test cases are in tests/tests.mm.
Related projects, disciplines and materials
Systems programmingResource management, system APIs, concurrency and correctness.Algorithms and data structuresFinite automata, formal languages and algorithm analysis.
Source code · e2942af12371aef66a1b0bb275a6f06f65333e9d