
5 Aug
2008
5 Aug
'08
4:52 p.m.
+++ 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