Send Beginners mailing list submissions to
        beginners@haskell.org

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
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

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 <n...@nofeed.org>
Subject: [Haskell-beginners] mustache in Haskell
To: beginners@haskell.org
Message-ID: <bb73cbfa-e0a0-44ea-aa5b-b5d6cef82...@nofeed.org>
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 <mich...@snoyman.com>
Subject: Re: [Haskell-beginners] mustache in Haskell
To: Nicholas Wieland <n...@nofeed.org>
Cc: beginners@haskell.org
Message-ID:
        <aanlktin2t1zvpvcnjmkhiwcvsqjg9scpavka-n-e9...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Mar 14, 2011 at 3:24 AM, Nicholas Wieland <n...@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



------------------------------

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 33, Issue 14
*****************************************

Reply via email to