[Haskell-cafe] parsing exercise

Chung-chieh Shan ccshan at post.harvard.edu
Sun Jan 23 08:31:49 CET 2011


Sebastian Fischer <fischer at nii.ac.jp> wrote in article <AANLkTimZfqoLG5z=VSxSjLTN_r5Xh+ed49-NgkNHnz-y at mail.gmail.com> in gmane.comp.lang.haskell.cafe:
> I expect writing this function to be quite tedious (ignore commas in parens,
> ignore parens in strings, quotation, ...) and would prefer to copy code from
> some parsing library. Do you have an idea what I could use? Or how to solve
> it from scratch in a few lines?

Maybe Text.Show.Pretty.parseValue in the pretty-show package can help?

-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Insert wit here.




More information about the Haskell-Cafe mailing list