/Automata-Engine

A bunch of simple Automata simulation modules

Primary LanguagePythonThe UnlicenseUnlicense

Automata-Engine

A bunch of simple Automata simulation modules

Python version is 3+

Run main.py for the solution to the question statement.

$ python main.py

For running a testcase file, say 'Testcases/test1.out'

$ python < Testcases/test1.out

finiteAutomata.py
Contains definitions of DFA, NFA and convertion functions.

automataError.py
Error class for finite automata

regularExpression.py
Not required for the question. To parses a string like it was a regular expression.