Skip to content

A program which converts input regex to NFA and further to DFA

Notifications You must be signed in to change notification settings

Abhiramon/Regex_to_DFA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regex_to_DFA

A program which converts input regex to NFA and further to DFA

Under Development (Currently works for most regex, but some bugs exist)

Usage Instructions:

Execute run.py program (Use python 2)

Output format:

  • Vertices: The names of the vertices (as a string of numbers)
  • Edges are repesented as ("source", "destination", "weight")
  • '_' stands for epsilon transition when used as weight (in NFA)
  • '-' stands for phi state (Discard state) when used as a state (in DFA)

To do:

  • Code needs to be documented
  • Bug fixes
  • Add functionality to visualize NFA and DFA as graphs

About

A program which converts input regex to NFA and further to DFA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages