Skip to content
TanmayPatil105Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

fsm - Finite State Machine

Takes regex as input and then creates an automate to handle user input.

Example

$ ./fsm "(a|b)*|((ab)d|(c+))"
S -> G
K -> AK
J -> I | K
I -> HB
H -> DC
G -> F | J
F -> EF | ε
E -> D | C
D -> a
C -> b
B -> d
A -> c

TODO:

  • Convert to Chomsky Normal Form
  • Check user string with regex

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages