User forums > Using Code::Blocks

Feature: Finite State Machines -> Code Generation

(1/1)

lancent:
It would be fine to have a tool that allows to specify some states e.g. in a dialog or something to build finite state machines quickly in a tabular fashion.
So lets say i input: 2 states, 2 events & directions
It should produce automatic code like:

switch() {

state 1

etc.
 
or

it would be even better to get a choice between 2 possible implementational ways .. the state machine could even be implemented as a simple table lookup.


Best wishes,

lancent.

Navigation

[0] Message Index

Go to full version