SCION-CORE
SCION-CORE copied to clipboard
A minimal implementation of Statecharts in portable, embeddable JavaScript. Development moved to gitlab: https://gitlab.com/scion-scxml/core
https://github.com/jbeard4/SCION-CORE/blob/07e2a1e9dc7d2437933f97cb916e9f098647b5b7/lib/scion.js#L187 ``` state.initialRef = initialChildren.length ? initialChildren[0] : state.states[0]; checkInitialRef(state); ``` When initialRef is set to the first <initial> or child <state> the reference is guaranteed to be valid given...
Given the following, fsm with an initial 's1.sub1', only the log containing '3' is executed. Removing 'initial', all three log statements are executed. ``` ```
Pertains to PR #30. See failing build: https://travis-ci.org/jbeard4/SCION-CORE/builds/139825454 Steps to reproduce: ``` bash jbeard4@Jacobs-MacBook-Pro:~/workspace/scion/SCION-CORE$ npm test > [email protected] test /Users/jbeard4/workspace/scion/SCION-CORE > cd test && nodeunit harness.js harness.js ✔ ./assign-current-small-step/test0.test.json ✔...
I like History state approach - ability to define some state like error handler, process error and then return to original state. However i've find out that it quits all...
It's legal for states to be an initial and a final state, especially in machines with only one state. Right now, the `$type` only supports either `INITIAL` or `FINAL` (among...
Generally speaking, SCION-CORE is meant to be a generic state machine interpreter. SCXML-specific properties should be passed in as arguments, either via `opts`, or embedded as a property on the...