[Haskell-cafe] Interesting new user perspective
jason.dusek at gmail.com
Fri Oct 10 16:48:05 EDT 2008
Tommy M. McGuire <mcguire at crsr.net> wrote:
> Is it wrong to use Parsec to parse regular expressions for a
> really simple regex engine?
I sometimes think it is better, from a maintainability
standpoint, to just use Parsec for all that stuff and forget
about regular expressions. There are many proficient
application programmers and system programmers who are
unfamiliar with regexen which, even if they weren't arcane,
are still so balkanized.
At first, I found writing Parsec for argument/option
processing to be almost offensive -- so many lines for so
little action! -- but it's clear as day to a lot of people and
that is a real mark in its favor.
More information about the Haskell-Cafe