Interpret SCXML state machines with XState and visualize them with @xstate/inspect.
Go to the online interpreter and paste in the editor the state machine you want to interpret. You can interact with it by using the visualizer.
If you want to launch the interpreter locally, follow those steps:
- Clone the repository
- Install dependencies:
yarn install
- Launch Vite server:
yarn dev
- Visit development server at localhost:3000
You write SCXML state machines with an ace editor configured for XML language.
The SCXML state machine is transformed to a XState machine at launch and 300 milliseconds after you stopped modifying it. Then the machine is interpreted and the visualizer connects to it.