On Tue, 6 Mar 2001 09:38:53 -0700, Wilkinson, Mike wrote:
>Actually, I've been reading this thread with interest as well. I'm
>attempting to do something similar with POE. The biggest problem for me is
>that I'm from an EE background, where state machines are defined more by the
>transitions than what a state contains, and this appears to be more the
>other way around.
There seem to be two flavors of state machine: ones that produce output
for each transition (http://hissa.nist.gov/dads/HTML/mealyMachine.html)
and ones that do the same for each state
(http://hissa.nist.gov/dads/HTML/mooreMachine.html).
Have you looked at POE::NFA? It's an imperfect attempt at a classical
nondeterministic state machine. At its worst, it shows that POE::Kernel
can drive different kinds of state machines.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net