
17 Feb
2008
17 Feb
'08
1:59 p.m.
Writing a parsing library like this is a great learning experience; Graham Hutton wrote a paper you can follow along with entitled "Monadic Parsing in Haskell" at http://www.cs.nott.ac.uk/~gmh/bib.html#pearl But if you're just interested in writing a parser, and not in writing a parser generator, I recommend Parsec; it's included with GHC as Text.ParserCombinators.Parsec, and there is a tutorial in the second part of this page: http://legacy.cs.uu.nl/daan/download/parsec/parsec.html -- ryan