From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 22 Oct 92 20:53:49 GMT From: widget!jgg@uunet.uu.net (John Goodsen) Subject: Re: Is a generic finite state machine engine reasonable? Message-ID: <1992Oct22.205349.12086@evb.com> List-Id: 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