[Haskell-beginners] mustache in Haskell

Michael Snoyman michael at snoyman.com
Mon Mar 14 07:31:41 CET 2011


On Mon, Mar 14, 2011 at 3:24 AM, Nicholas Wieland <ngw at nofeed.org> wrote:
> Hi *, I'm studying Haskell and having a lot of fun in the process.
> I would like to start a puppy project just to improve my studying, and considering I'm mainly a web guy I think that implementing something more or less simple like mustache (http://mustache.github.com/) without pretending to release something stable any time soon can be a good start.
> My first question is: should I use Happy as a parser or there are simpler/better options, or maybe even parse it myself ?

I would recommend using Parsec if you want user-friendly error
messages, and attoparsec (or attoparsec-text) if you want raw speed.
All three of those libraries use basically the same approach, and it's
fairly easy to switch amongst them.

Michael



More information about the Beginners mailing list