Parser Generator
- Generate regex AST as dot file
- Generate dfs for regex as dot file
- Generate parser
./dot_gen --help
Usage: Dot Generator [options]
Optional arguments:
-h --help shows help message and exits
-v --version prints version information and exits
-r --regex regex with double quotes[Required]
-v --verbose increase output verbosity
-t --type generate type [ast, dfa] default: dfa
-o --output speficy output file(*.dot) default: stdout