Simple finite state automata library providing:
- FSA parser (partially complete)
- FSA simulator (functional)
- FSA graph model (partially complete)
- Basic command line interface (partially complete)
Requires Python 2.7+, not tested with Python 3
To use in your projects simply include /automata-core-lib
in your python module path
From your command prompt with python configured run
python automata-cli.py [machine_file] [strings]
machine_file
- supported descripton file
strings
- space seperated list of strings to test on machine
Look in /examples
for example fsa description files.
To get started try
python automata-cli.py examples/plaintextmachine "aaa"
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Avaliable under GNU GPL 3.0
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.