News for hackers. Stuff that matters.
Re:State Machines by userdeveloper on Tuesday May 15, 2012 @03:34AM (#3975442)
State machines just seem natural to me. I actually sketched out a state machine before I even knew what a state machine was. The other concept I really like is lookup tables. Reminds me of truth tables. Are state machines really just a form of lookup table? I guess it's just how my mind works because these tables seem natural to me.

This is great thread. I have only used lex/flex to make my state machines. I'd like to try something new eventually.

Re:State Machines by endgame on Tuesday May 15, 2012 @03:39AM (#3975459)
Zed Shaw's article about building state machines with ragel might interest you: http://www.zedshaw.com/essays/ragel_state_charts.html
Re:State Machines by userdeveloper on Tuesday May 15, 2012 @07:23PM (#3979502)
That write-up contains a little too much hype for my tastes. And as soon as I saw the words Java and C++ I lost 95% of any curiousity I have about ragel.