Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. mustache in Haskell (Nicholas Wieland)
2. Re: mustache in Haskell (Michael Snoyman)
----------------------------------------------------------------------
Message: 1
Date: Mon, 14 Mar 2011 02:24:12 +0100
From: Nicholas Wieland <[email protected]>
Subject: [Haskell-beginners] mustache in Haskell
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
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 ?
ngw
------------------------------
Message: 2
Date: Mon, 14 Mar 2011 08:31:41 +0200
From: Michael Snoyman <[email protected]>
Subject: Re: [Haskell-beginners] mustache in Haskell
To: Nicholas Wieland <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
On Mon, Mar 14, 2011 at 3:24 AM, Nicholas Wieland <[email protected]> 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
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 33, Issue 14
*****************************************