3 ms·
> At the time I need a multi-line pattern language, I just whip up a FSM-like program in code. And I'll continue to do that. Not that this is an invalid approa
by s_kilk 7y ago
> At the time I need a multi-line pattern language, I just whip up a FSM-like program in code. And I'll continue to do that.
Not that this is an invalid approach, not at all, but I feel like there's a load-bearing "just" here that indicates this project could be useful for a lot of people :)
- paulddraper 7y agoIt's true. I've written a number of lexers/parsers, and it feels really natural to me make a big loop with switch/case. If I started from "scratch", perhaps the overhead of learning Rosie would be worth it.