[Haskell-cafe] Parselib sample

S. Doaitse Swierstra doaitse at swierstra.net
Wed Jun 2 15:31:37 EDT 2010


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++.html
> However, I'd prefer to look at a parser for a "C" like language.
> 
> -- 
> Regards,
> Kashyap
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe


-------------- next part --------------
Skipped content of type multipart/mixed


More information about the Haskell-Cafe mailing list