[Haskell-cafe] Re: Brainstorming on how to parse IMAP

John MacFarlane jgm at berkeley.edu
Tue Aug 5 16:52:24 EDT 2008


+++ John Goerzen [Aug 05 08 10:13 ]:
> >> I'm interested in thoughts people have on parsing libraries and methods.
> >>  I'm a huge fan of Parsec overall -- it lets me have a single-stage
> >> parser, for instance.  But it isn't sufficiently lazy for this task, and
> >> I probably will need to deal with ByteStrings instead of Strings, since
> >> some IMAP messages may be 30MB or more.
> > 
> > You might be interested in Frisby: http://repetae.net/computer/frisby/
> 
> Are there any examples available for it anywhere?

I wrote a markdown parser using Frisby:
http://github.com/jgm/markdown-peg/tree/master

John


More information about the Haskell-Cafe mailing list