Parsing GHC Core

Thorkil Naur naur at
Thu Mar 8 14:06:22 EST 2007


The GHC repository ghc/utils/ext-core contains a parser and an (incomplete?) 
interpreter, apparently for some earlier version of GHC core.

Best regards
On Thursday 08 March 2007 15:58, Neil Mitchell wrote:
> Hi,
> I would like to parse GHC Core to an abstract syntax tree, as the old
> GHC Core library used to allow the user to do. I do not want to depend
> on the GHC API (too big), but don't mind depending on a small and
> separately available .cabal'd package. I also don't mind copying a few
> modules into my program. The types are of no interest to me, if that
> makes it any easier
> Does anyone have the code/library to do this sitting around?
> Thanks
> Neil
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at

More information about the Glasgow-haskell-users mailing list