Is there a programming language with built-in state machine construct?

Ragel is a state machine language. IOW, it’s not a language that also supports state machines, it’s a language that only supports state machines. Which obviously means that it’s not Turing-complete, but who needs that? More precisely, Ragel is a state machine compiler, which takes a description of a state machine in a regexp-like language … Read more

Difference between StateChart and Activity Diagram

It might seems so, but the difference is, activity diagrams describe activities and state charts describe states. So those models are orthogonal – you might imagine there is an activity between two states (something that occurs during the transition) and you might say there is a state between two activities. This is rather a simplification, … Read more

tech