
Hey Doaitse,
Could you please post the full code available?
On Thu, Jun 3, 2010 at 1:01 AM, S. Doaitse Swierstra
If you want to use the easier long-standing libraries from Utrecht, we can provide you with a parser for full Haskell, which you can find in the Utrecht Haskell Compiler (UHC) distribution.
In 2002 Alexey Rodriguez produced a C fron-end, using the UUlibs combinators. I am attaching the file with the parser so you can take a look. If you want to have access to the full compiler, which was not maintained, I can make the full code available on a website. I think it is also instructive to start with looking at simpler parsers, e.g. for the bibtex format, which is available from:
https://subversion.cs.uu.nl/repos/project.STEC.uulib/uulib/trunk/examples/
Doaitse
On 1 jun 2010, at 13:06, C K Kashyap wrote:
Hi, Is there a not-so-trivial parser implementation with Parselib? Parser for a "C" like language would be good. I searched and found Haskell++ -> http://www.cs.chalmers.se/~rjmh/Software/h++.htmlhttp://www.cs.chalmers.se/%7Erjmh/Software/h++.html However, I'd prefer to look at a parser for a "C" like language.
-- Regards, Kashyap _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Regards, Kashyap