Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a state machine from a string (e.g, regular expression) #189

Open
pleger opened this issue Nov 19, 2019 · 0 comments
Open

Create a state machine from a string (e.g, regular expression) #189

pleger opened this issue Nov 19, 2019 · 0 comments

Comments

@pleger
Copy link

pleger commented Nov 19, 2019

Hi, In the first place, your work is amazing (in particular, visualization).

I am wondering if it is possible to create the state machine from a string, eg.

let myFSM = new StateMachine("(a|b) -> (c)+");

where the second state is (a|b) and the events a or b are required to reach this state.

Thanks a lot, Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant