[erlang-questions] Hierarchical FSMs

Avinash Dhumane <>
Sat Jun 18 15:55:20 CEST 2011

Both gen_fsm and plain_fsm appear to support only "flat", and not hierarchical, 

Maybe, the mental model of hierarchical FSMs has basic impedance mismatch with 
Erlang's view of the world - "everything is a process". 

I need to see "processes" rather than events and states of "objects" in the 
problem domain.

Thanks by all means!

From: Daniel Goertzen <>
To: Avinash Dhumane <>
Sent: Sat, 18 June, 2011 8:29:45 AM
Subject: Re: [erlang-questions] Hierarchical FSMs

Take a look at plain_fsm (not part of OTP).


On Fri, Jun 17, 2011 at 9:48 PM, Avinash Dhumane <> wrote:

I'm new entrant in Erlang's world, and have read only Joe's thesis so far, and 
I'm not a programmer :-(
>How to realise (implement) FSMs organised as state (superstate, substate) and 
>event (superevent, subevent) hierarchies using gen_fsm? I see these hierarchies 
>in dynamic models of Rumbaugh OMT.
>Thoughts, or a quick example (code)?
>erlang-questions mailing list

Daniel Goertzen
1 204 272 6149 (home/office)
1 204 470 8360 (mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110618/fe017bdc/attachment.html>

More information about the erlang-questions mailing list