Is there a programming language with built-in state machine construct?
I am just curious if there is a programming language which has state machines (similar to boost::statechart) as primary language construct. Analogies - c# has delegates where java uses the observer pattern and C has callbacks. Perl and python have built-in hashes while C++ and java needs a library. Update: This should be general prog...