RustTestDfa
A simple and probably not complete dfa implementation