Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 396 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 396 Bytes

automaton

Generator of state machines that accept the same language of a given regular expression.

Draw the state machine associated to a regular expressions tree

python -m automaton "(a|b*c)" -o output.png

Then, output.png file will be:

Screenshot

where the accepting states are marked in blue and the starting node is marked with >.