Automata ![Maven Central](https://camo.githubusercontent.com/0e459895bccb5b8ab6de8839e08d059acd6d74c91d0e7ab27e46a4e515ef1886/68747470733a2f2f696d672e736869656c64732e696f2f6d6176656e2d63656e7472616c2f762f74656c2e7363686963682f6175746f6d6174612e7376673f6c6162656c3d4d6176656e25323043656e7472616c)
A library that implements formal finite state automata.
If you are looking for an efficient and feature complete linear-time regular expression engine, then this is not the project for you. Google's re2 will very likely do a better job at that.
However if you are trying to convert regular expressions into FSAs in order to proof certain properties of the regular expressions and are not too tight on performance requirements, this could be the project you are looking for.
What works?
- Converting simple ("formal") regular expressions into NFAs
- Converting Java's Patterns (most of the regular syntax is supported) into NFAs
- Converting NFAs into DFAs
- Various operations on DFAs and/or NFAs:
- minimizing DFAs
- completing DFAs
- combining multiple automata into a one (e.g. intersection)
- complements
- simple text matching
Possible future features
- Transition events
- ???