You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'd like to suggest that you generate FSM as code. In a similar way as done in Robert C. Martin's CC_SMC project which is described in his book "Agile Software Development, Principles, Patterns, and Practices", which is available in Russian.
FSM generated by it is an abstract class with an events and a states as an enums, events as a public methods which will be called from client code and a transitions as a abstract methods which will be implemented by user.
It will also be useful to make it possible to generate FSM code for different programming languages, as CC_SMC does.
The easiest way I see to do this is to export the FSM to CC_SMC and use it to generate the code.
This discussion was converted from issue #19 on June 06, 2021 08:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I'd like to suggest that you generate FSM as code. In a similar way as done in Robert C. Martin's CC_SMC project which is described in his book "Agile Software Development, Principles, Patterns, and Practices", which is available in Russian.
FSM generated by it is an abstract class with an events and a states as an enums, events as a public methods which will be called from client code and a transitions as a abstract methods which will be implemented by user.
It will also be useful to make it possible to generate FSM code for different programming languages, as CC_SMC does.
The easiest way I see to do this is to export the FSM to CC_SMC and use it to generate the code.
There is other C# project too: https://github.com/SuperJMN/StateMachineCompiler
Beta Was this translation helpful? Give feedback.
All reactions