[Scope] only support formats that (pick one):
- not being used to describe a state machine or configuration
- and not literally statecharts or it's derivative
- or standardized interchangeable formats
- and generated from another system
Possible formats:
API (prone to changes)
let parser = Scdlang::new();
parser.transform().expressions
.nth(0).current_state("B")?
.next_state("A")?.event("C")?;
assert_eq!("A -> B", &parser.to_string());
Possibly, it will use the caches to build the syntax string
Resources
[Scope] only support formats that (pick one):
Possible formats:
@xstate/graph(prone to changes)CSV/HTML/Markdown of state transition table(there is lot of variants)API (prone to changes)
Possibly, it will use the caches to build the syntax string
Resources