States

State machine sketch and simulator. Write transitions, read the diagram, step through events.

v1

01 / Definition

    Syntax
    initial Idle
    Idle -> Running : start
    Running -> Paused : pause [guard] / action
    Running -> Running : tick
    state Spare
    final Done
    # comment   // comment

    02 / Diagram

    03 / Simulator

    Current

      04 / Checks

      05 / Export

      The link stores the definition in the URL hash. Nothing leaves your browser.