[ragel-users] C enum usage in state machines and visualization improvements
thurston at complang.org
Thu Aug 5 04:54:33 UTC 2010
Sorry I missed this message.
In a simple state machine, it might seem natural to give states the
names that come from source file, but unfortunately it doesn't
generalize. States are often the combination of several states defined
in the source file. Also, states specified in the source can end up
contributing to more than one state in the compiled machine.
On 10-07-12 09:56 AM, David Weidenkopf wrote:
> Hello, I am a ragel noob. One observation I have as a new user is that the generated dot files would be better if they used more of the information provided in the source file. For example, why aren't the state names output instead of numbers? Or is there a way to get the state names used in the diagram? Finally, I read that it was possible to use a C enum to define events. Are there any examples of this available?
> Also, does anyone with experience with the ragel source have an idea of the feasibility of adding more features to the dot generation? For example, what about color coding events?
> Thanks in advance.
> ragel-users mailing list
> ragel-users at complang.org
ragel-users mailing list
ragel-users at complang.org
More information about the ragel-users