scdlang
scdlang copied to clipboard
Statechart Description Language (just an experiment, need to be rewritten)
I see this is experimental and not being worked on for a year, but the idea looks great :) Diagramming is still a hassle, and we don't use the potential...
Just lost a long message I was just writing to you so I guess I should make this shorter. I am the creator and maintainer of [Kingly](https://brucou.github.io/documentation/), a state machine...
### How it looks like? (maybe) ```scl entry |> State1 |> exit state State2 { State21 >< activity initial -> State21 State21 -> State22 @ Event } initial -> State1...
- implement new syntax - [x] guard - [x] action - [x] internal transition - [x] generate typescript declaration for xstate - [ ] ~~compile to webassembly~~ - add bundler...
When creating a new module for IDE support, consider to: - [ ] Convert the semantics error (or the whole [pest::error][]) to [codespan][] to have error reporting similar to Rust...
A fallback if graphviz/dot cli didn't exist since it support exporting to png, pdf, eps, and many more. And yeah, Inkscape has a CLI version! ```sh scrap code input.scl -f...
- [x] ~~assess if [serde typescript-definitions][] crates is suitable~~ the type must be determined before compilation so it can't generate n-number of possible types in a union type ❌ -...
Generate [two-dimensional transition table](https://en.m.wikipedia.org/wiki/State_transition_table#Two-dimensional_state_tables) as: - `./packages/transpiler/table` - [ ] markdown - [ ] csv and render it using - `./packages/cli` - [ ] [termimad](https://github.com/Canop/termimad) #### How it looks like...
> Waiting for https://github.com/plantuml/plantuml/issues/238 to resolved #### Installation AUR: `yay -S plantuml` Usage: `plantuml -help` #### Steps 1. Generate graphviz from `smcat` with `format!("@startuml\n{dot}\n@enduml", dot=smcat)` 2. Then pipe it to...