
I am using Parsec to write a parser. I would like to know how parse-errors can be accumulated without stopping at the first error. I would like to skip the input upto some synchronization point (for e.g a semi-colon) and continue parsing from there. Thanks. _____________________________________________________________ Get your own FREE e-mail account at http://www.volcanomail.com _____________________________________________________________ Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag

Parsec cannot do this. If you want this behaviour check out the Parsing library at cvs.cs.uu.nl (directory lib). In the examples directory you find an example parser for Haskell written using these combinators. At the top level there is also a Tiger compiler that is written with these combinators, Doaitse Swierstra On woensdag, apr 16, 2003, at 12:00 Europe/Amsterdam, Sarat Chandra wrote:
I am using Parsec to write a parser. I would like to know how parse-errors can be accumulated without stopping at the first error. I would like to skip the input upto some synchronization point (for e.g a semi-colon) and continue parsing from there. Thanks.
_____________________________________________________________ Get your own FREE e-mail account at http://www.volcanomail.com
_____________________________________________________________ Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Doaitse Swierstra
-
Sarat Chandra