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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to