Hi all,
I was wondering if there is an implementation of a hierarchical state machines (with input and output actions) available somewhere for Pharo. Any ideas? Thanks in advance! ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile |
Johan, I made a hierarchical state machine framework in VA Smalltalk, and use it to this day in an application that has several state machines comprising hundreds of states. Unfortunately, it's not open source, and I don't own the code, so I can't share it. It has #assumeState and #relinquishState methods that get sent when a state is entered or left, and #assumeSuperstate and #relinquishSuperstate methods that get sent as a state transition crosses the contours of superstates. If an open source equivalent exists, I'd be interested in checking it out. Bob On Tue, Apr 8, 2014 at 3:47 PM, Johan Fabry <[hidden email]> wrote: Hi all, |
Hi Bob,
thanks for the info. We have not found anything yet (but have not looked in-depth). Evaluating our needs, we see that we have something quite simple, in the end, but with some weird specific requirements. So in the end we will roll our own. It will be available as open source, and will be announced when it is reasonably stable. So feel free to check it out at that point :-) On Apr 10, 2014, at 10:54 AM, Bob Hartwig <[hidden email]> wrote: > Johan, I made a hierarchical state machine framework in VA Smalltalk, and use it to this day in an application that has several state machines comprising hundreds of states. Unfortunately, it's not open source, and I don't own the code, so I can't share it. It has #assumeState and #relinquishState methods that get sent when a state is entered or left, and #assumeSuperstate and #relinquishSuperstate methods that get sent as a state transition crosses the contours of superstates. If an open source equivalent exists, I'd be interested in checking it out. > > Bob > > > > On Tue, Apr 8, 2014 at 3:47 PM, Johan Fabry <[hidden email]> wrote: > Hi all, > > I was wondering if there is an implementation of a hierarchical state machines (with input and output actions) available somewhere for Pharo. Any ideas? > > Thanks in advance! > > ---> Save our in-boxes! http://emailcharter.org <--- > > Johan Fabry - http://pleiad.cl/~jfabry > PLEIAD lab - Computer Science Department (DCC) - University of Chile > > > ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile |
Sounds good, Johan. The most interesting part of my framework is the code that detects the contours that are being exited and entered upon a state transition. That code is heavy on object introspection, and I can't think of a better language than Smalltalk to do that sort of thing. Bob On Thu, Apr 10, 2014 at 9:43 AM, Johan Fabry <[hidden email]> wrote: Hi Bob, |
Free forum by Nabble | Edit this page |