Download Statecruncher User Manual
Transcript
8.2 Transitions The following figures give a functional overview and then the syntax of the transition block. The syntax is given in railroad diagram form where iterations are represented where convenient by feed-backward constructions. This representation has been converted into a purely feed-forward representation (not shown here) so that Prolog Definite Clause Grammar (DCG) rules can be used as a parser. A transition block is defined in the context of the source state of the transition. The enter block and exit block pertain to that source state rather than the transition proper; they contain actions to be executed whenever that state is entered or exited respectively. Transitions are triggered by meta-events, i.e. ordinary declared events or internal events generated whenever a state is entered or exited. Transitions can be conditional on the value of an expression yielding a boolean. The action block per transition contains actions that accompany the transition whenever it takes place; the actions can be conditional too. © Graham G. Thomason 2003-2004 127