On 2008-11-10, Tuomo Valkonen <[EMAIL PROTECTED]> wrote: > And Haskell just sucks for the moderately object-oriented approach that is > "obvious" for certain things.
OTOH, Haskell and Parsec [1] are simply wonderful for writing parsers. In fact, I use Haskell in the build process of Ion for parsing translatable strings from Lua source with lua-xgettext [2]. With Parsec, the parser [3] can be pretty much written in a DSL monad as the language is specified, without crummy parser generators. [1]: http://www.cs.uu.nl/~daan/parsec.html [2]: darcs get http://modeemi.fi/~tuomov/repos/lua-xgettext/ [3]: http://modeemi.fi/~tuomov/repos/lua-xgettext/Kuu/Parser.hs -- "[Fashion] is usually a form of ugliness so intolerable that we have to alter it every six months." -- Oscar Wilde "The computer industry is the only industry that is more fashion-driven than women's fashion." -- RMS
