The Application
- Preface
- Syntax/Input
- Conversion
- The Application
- Version 1.1
So finally we have our program. It can be run following this link. Or the GitHub repo can be found here.
NFA1 from last chapter can be expressed according to the syntax of this application as
start (1) -eps>(2) -eps>(4) (2) -b>(3) (3) -a>(3) -eps>(6) (4) -a>(5) (5) -b>(4) -eps>(3) -a>(6) ((6))So here's something to try run the program with. The program can be run from the terminal as follows
nfa2dfa "nfa name" filename [options: -showMoves]The minimum amount of arguments are a filename to a file that contains the nfa. The order of nfa name and filename are important. Where the flag is placed, isn't. Happy converting!