Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Generate FSM as a code [suggestion] #45

TrueXakeP started this conversation in Ideas
Discussion options

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

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
Feature New feature or request Need discussion
1 participant
Converted from issue

This discussion was converted from issue #19 on June 06, 2021 08:16.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.