Finite State Machines (was "Re: control structures (was "Re: Sins")")
Skip Montanaro
skip at mojam.com
Thu Jan 6 20:03:57 EST 2000
More information about the Python-list mailing list
Thu Jan 6 20:03:57 EST 2000
- Previous message (by thread): lazy (?) evaluation, request for advice
- Next message (by thread): Finite State Machines (was "Re: control structures (was "Re: Sins")")
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Darrell> Using an exception as a "switch" statement is a cool idea. A
Darrell> dictionary approach comes to mind, with so many states.
Yup... Check out
http://www.musi-cal.com/~skip/python/
and scroll down to "Finite State Machine" for a slightly more elaborate way
of doing finite state machines...
Skip
- Previous message (by thread): lazy (?) evaluation, request for advice
- Next message (by thread): Finite State Machines (was "Re: control structures (was "Re: Sins")")
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list