Re:Why developers should be force-fed state machines
by signa11 on Monday June 13, 2011 @12:29PM
(#2649619)
this is why i like ragel (http://www.complang.org/ragel) a lot. seems that zed-shaw also has used it in couple of his projects e.g. mongrel most notably. would be particularly cool if ragel can be combined automagically for some protocol parsing tasks...
[ Parent
| on HN ]
Re:Why developers should be force-fed state machines
by shabble on Monday June 13, 2011 @08:34PM
(#2651336)
I'm also a big fan of ragel, and have used it for various protocol implementations. One of the really nice features is that you can have it output graphviz dot files, to get an actual visualisation of your state machine, so you know where you've missed a transition, or how you've accidentally hit a state explosion with a bad rule.