A Python Implementation to convert Regular Expression directly to DFA
python3graphviz,libgraphvizin case of Ubuntujavaandjavac(Install from any package likeopenjdkantlr4, follow the exact steps from their website and addexports to the shell configuration file(Usually~/.bashrc)
- RegExs should be defined over alphabet
{a,b} - Epsilon is coded as
e - Whitespaces are skipeed
- Klnee Closure Operator (
*) - Concatenation
- Alternation Operator (
|) - Grouping by means of Parenthesis
python3 -m pip install -r requirements.txt
python3 main.py