comp.lang.ada
 help / color / mirror / Atom feed
From: widget!jgg@uunet.uu.net  (John Goodsen)
Subject: Re: Is a generic finite state machine engine reasonable?
Date: 22 Oct 92 20:53:49 GMT	[thread overview]
Message-ID: <1992Oct22.205349.12086@evb.com> (raw)

Bob Martin has a very nice, clean design of a
generic finite state machine.  He has written
a parser which will parse textual state tables
and generate the corresponding C++ classes.
I'm sure this could just as easily be done in and
for Ada.  Bob used lex and yacc for the parsing.
AFLEX and AYACC would work equally well for the
Ada version.  

It's his Object Oriented design of the FSM that is
of most interest, however.  Once you've designed it,
parsing and spitting the code is the trivial part.

If you're interested in a copy, email me directly.
I'm sure Bob will let me distribute to the Ada world,
but I'll check for sure.  If I get too many requests,
then I'll just make it available on anonymous ftp or
post it...

--
John Goodsen                           PCIS Programme
Software Process & Environments        Ada Joint Program Office       
EVB Software Engineering               goodsenj@ajpo.sei.cmu.edu
jgg@evb.com

             reply	other threads:[~1992-10-22 20:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-10-22 20:53 John Goodsen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-10-22  2:26 Is a generic finite state machine engine reasonable? Loren Schall
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox