|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Are state machines just for parsing?by dragonchild (Archbishop) |
| on Dec 08, 2004 at 13:20 UTC ( #413189=note: print w/ replies, xml ) | Need Help?? |
|
What kind of interface / API would you be interested in seeing? How would you want to use said module? The reason I ask is that I've built state machines for several projects and they were different enough that I don't think I could've used a generic solution / framework. For example, I've used state machines to
It's kinda like trying to build a module for the Schwartzian Transform or the Guttman-Rosler Transform (GRT). It's good to know the pattern, but making a generic version just complicates the matter. Or, put another way, we'd almost have to write another mini-language to have a state machine. And, we already have that with regexes. Being right, does not endow the right to be rude; politeness costs nothing.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||