Fix internal-transition can't be rendered in boxart
- Skip internal-transition on box/asciiart format
- Add option mode::blackbox::State in scdlang_smcat
Add `just smoke` while fix doc tests
- core: Add DbC for `Transition` via static_assert
- core: Refactor `TransitionIterator` a bit
- Fix deprecate trait-object without `dyn`
Infer event value to obj list in xstate transpiler
Because value in event-key can be targetName *or* object of: one_or_all{target, guard, actions}, then it also accept array of object.
This need the transpiler able to convert previous value into list of object when hit non-conflicted guard.
Add CLI flag --format xstate --as typescript
* Also support output --as javascript
* Require --name when output --as javascript,typescript
* Convert --name [export] to PascalCase when output --as typescript
Support typescript output on xstate transpiler ⚠️
* core Builder now support custom option key
* xstate transpiler also support javascript output
⚠️ only applied on `scrap code` subcommand
Fix incorrect output on internal transition ➕
* Internal transiion shouldn't have next_state
* Remove trailing symbol `|>` when printing action in internal transiion
* Fix core parser tests
* Small tweak on the error messages