Open pleger opened 4 years ago
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.
(a|b)
a
b
Thanks a lot, Paul
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 eventsa
orb
are required to reach this state.Thanks a lot, Paul