Skip to content

Generate scdlang from other formats #22

@DrSensor

Description

@DrSensor

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    prototypePrototype an idea/wishlist

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions