Skip to content

Generate FSM as a code [suggestion] #19

Description

@TrueXakeP

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions