parsonsmatt / hasktuts

A collection of introductory tutorials on Haskell libraries
MIT License
43 stars 2 forks source link

Lots of string parsing tasks! #3

Open langford opened 9 years ago

langford commented 9 years ago

If I wanted to make small log parsers, config file readers, etc, it's not explained well anywhere I've seen how to use all the string parsing functions well with Haskell (especially talking about judgement calls regarding types and items read from files)

parsonsmatt commented 9 years ago

Parsec tends to be the standard and has a decent level of documentation and tutorials. Are you wanting a more practical "Build a parser and then use it to parse YAML or JSON" sort of tutorial?

langford commented 9 years ago

I probably should just be using parsec :D

Michael Langford Phone: 404-647-4643 Web: http://www.RowdyLabs.com

On Mon, Aug 31, 2015 at 9:05 PM, Matt Parsons notifications@github.com wrote:

Parsec tends to be the standard and has a decent level of documentation and tutorials. Are you wanting a more practical "Build a parser and then use it to parse YAML or JSON" sort of tutorial?

— Reply to this email directly or view it on GitHub https://github.com/parsonsmatt/hasktuts/issues/3#issuecomment-136541139.

parsonsmatt commented 9 years ago

The NICTA course has a nice section on building your own Parsec which may be fun. I found it to be pretty enlightening!