Art Eschenlauer wrote:
What I'm wondering is whether anyone has been working on a general purpose generator of finite state machines in Unicon or Icon? I'm not thinking of something as elaborate as JStateMachine (see below), just something that takes as input a definition of a state machine and generates Icon/Unicon source code for a finite state machine with hooks for things like Actions, Activities, States, Transitions, Guards and perhaps Superstates and Concurrent States.
JStateMachine
There is an article by Brian O'Byrne on page 34 of the Jan 2003 issue of Dr. Dobb's Journal, "State Machines & User Interfaces", that describes a framework of Java language interfaces. (By interfaces here I mean the language feature, not a GUI.) At http://www.jstatemachine.org there are complete instructions for how to use the framework to create a GUI (in the Java language) from an XML document defining a state machine that in turn defines GUI behavior. Obviously, a lot of thought has gone into the work of Brian and his collaborators.
Libero
FYI, there is a free, simple, cross-platform Finite State Machine generator called Libero that was created by iMatix Corporation. It can generate C, Rexx, bash, PHP, Java, x86 assembler, Cobol, PL/SQL, etc.. For further info, see <http://www.imatix.com/html/libero/>. Some day I may adapt it to Icon - who knows? The tutorial includes a hilarious example <http://www.imatix.com/html/libero/lrintr1.htm>.
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group
------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Unicon-group mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unicon-group