Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: lancent on May 24, 2004, 10:36:16 pm

Title: Feature: Finite State Machines -> Code Generation
Post by: lancent on May 24, 2004, 10:36:16 pm
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.