ppr for Haskell Abstract Syntax

Simon Marlow simonmar@microsoft.com
Wed, 1 Nov 2000 04:16:50 -0800


> Hi -
> I was wondering if anyone knows if there is a pretty printer 
> for Haskell
> Abstract Syntax anywhere?  I've been asking around, but 
> haven't located
> one yet.  If you know of one that I could use, it would be 
> really helpful!
> Thanks in advance,
> *Kate

We have one in GHC's CVS source tree now.  hslibs/hssource contains a
Haskell abstract syntax, parser, and a pretty printer.  It should compile on
pretty much any version of GHC, but you'll probably need a recent version of
Happy (1.8) for the parser.

Cheers,
	Simon