3 ms·
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 i
by userdeveloper 14y ago
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.
- endgame 14y agoZed Shaw's article about building state machines with ragel might interest you: http://www.zedshaw.com/essays/ragel_state_charts.html http://www.zedshaw.com/essays/ragel_state_charts.html
- deleted 14y ago[deleted]
- userdeveloper 14y agoThat 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.