[Haskell-cafe] Parsec online resource

Graham Klyne GK at ninebynine.org
Mon Feb 21 11:30:50 EST 2005

There's a very simple example of using Parsec, complete with some test 
cases, here:



At 22:07 21/02/05 +0800, Edwin Eyan Moragas wrote:

>HI Guys,
>i'm trying to use parsec to do some data creation for me.
>was reading the online user documentation
>and all seems well.
>however, i can't dig how i can use the result
>of the parsing.
>any ideas/resources you can point out would be
>of very big help.
>just in case you're interested. i'm trying to
>implement a YAML parser.
>that is:
>1) read a YAML file containing data
>(say a list of names)
>2) parse the YAML file
>(this is where parsec comes in)
>3) come out with a list (int haskell)
>after parsing the YAML source.
>kind regards,
>Object-oriented programming offers
>a sustainable way to write spaghetti code.
>Haskell-Cafe mailing list
>Haskell-Cafe at haskell.org

Graham Klyne
For email:

More information about the Haskell-Cafe mailing list