RE: Parsing include files

2000-08-22 Thread S. Doaitse Swierstra
At 4:03 AM -0700 8/21/00, Julian Seward (Intl Vendor) wrote: >| Since compilers are one of the areas where everyone agrees that FPLs >| are the right tool for the job, there should be a standard pattern to >| deal with include files. Am I missing something essential? > >No. Parsec is an excellent

RE: Parsing include files

2000-08-21 Thread Julian Seward (Intl Vendor)
| Since compilers are one of the areas where everyone agrees that FPLs | are the right tool for the job, there should be a standard pattern to | deal with include files. Am I missing something essential? No. Parsec is an excellent library, but I think there's a design flaw in that you can't wr

Parsing include files

2000-08-21 Thread Florian Hars
I am trying to parse some files using the parsec combinator library and am stuck in some kind of monad mismatch or general blindness or so. For the sake of this argument, the documents to be parsed are just a list of things: document :: Parser [Thing] Parsing the things with thing :: Parser Thi