Hello, When I click bothI'm trying DynaCASE modeling platform in latest Pharo 5 installing with the following script: Metacello new baseline: 'DynaCASE'; repository: 'github://dynacase/dynacase/repository'; load. DC Finite State Machine -> FSM Example Divisibility DC Finite State Machine -> FSM Example Decimal I get MessageNotUnderstood: receiver of "handlesAnnouncement:" is nil So my question is how should I install DynaCASE to get a functional version? Cheers, Hernán |
Hi Hernán,
could you please try the latest build https://ci.inria.fr/pharo-contribution/job/DynaCASE/lastSuccessfulBuild/PHARO=50,VERSION=development,VM=vm/artifact/DynaCASE.zip I'm in the process of integrating FAMIX model so it's bit unstable. Peter On Wed, Sep 23, 2015 at 1:32 AM, Hernán Morales Durand <[hidden email]> wrote: > Hello, > > I'm trying DynaCASE modeling platform in latest Pharo 5 installing with the > following script: > > Metacello new > baseline: 'DynaCASE'; > repository: 'github://dynacase/dynacase/repository'; > load. > > When I click both > > DC Finite State Machine -> FSM Example Divisibility > DC Finite State Machine -> FSM Example Decimal > > I get > > MessageNotUnderstood: receiver of "handlesAnnouncement:" is nil > > So my question is how should I install DynaCASE to get a functional version? > > Cheers, > > Hernán > > > > > > > > |
Thank you Peter, I have to build a FSM and your tool is what I need. I am writing a Code Generator (not in public state for now) and we could join forces. I've seen a few Smalltalk FSM implementations out there, but I am thinking about generation of this kind of code http://smalltalkhub.com/#!/~MasashiUmezawa/SState 2015-09-22 20:36 GMT-03:00 Peter Uhnák <[hidden email]>: Hi Hernán, |
I just re-checked the DynaCASE video and it has its own textual FSM way :) A little thing that could be added is to generate an empty FSM after creating the projectFor example: | fsm init | fsm := DCFsm named: 'SRS FSM'. init := DCFsmInitialState new. fsm addAll: { init }. DCWorkbench openOnDiagram: fsm. 2015-09-22 23:25 GMT-03:00 Hernán Morales Durand <[hidden email]>:
|
> Do you plan to add a code generator?
Unfortunately right now I am fully focusing on UML Class Diagrams, and I have limited resources (my time), and has only 26 hours. I will start writing a code generator for UML next month, but that has somewhat different semantics to FSM. > I am writing a Code Generator (not in public state for now) and we could join forces. I've seen a few Smalltalk FSM implementations out there, but I am thinking about generation of this kind of code http://smalltalkhub.com/#!/~MasashiUmezawa/SState I'd be very happy to collaborate! The MesashiUmezawa/SState looks quite good; the semantics seem closer to UML StateMachine than FSM, but that's fine, because it's more powerful. Also using model maintained by someone else would free my hands to focus on the application itself. So while I currently don't have the time to implement this myself, I would be very happy to help you in any way (documentation, examples, explanations, etc.) if you are up for the task. > I just re-checked the DynaCASE video and it has its own textual FSM way :) FSM has just a Smallltalk DSL (shown in the beginning). The textual representation (at the end of the video) is related to BORM, which is quite a different beast. (Also I rewrote it since then, because what's in the video was just a proof-of-concept.) But then again creating a better Smalltalk DSL or a textual DSL (with the help of PetitParser) is quite easy and fun. :-) > > A little thing that could be added is to generate an empty FSM after > creating the project I'm assuming you created the project from the "DynaCASE" world entry; I don't think that it should create FSM by default because there are two more models (UML Class diagram and BORM), so it doesn't now which one to pick. What I can do is add a button or something where you can select what kind of initial diagram you want. However right now you can click on the "DC Finite State Machine" world entry (it has a submenu with examples, but don't click on the examples, click on the entry itself) --- this opens a new empty FSM diagram. Peter |
Free forum by Nabble | Edit this page |