Dump GHC's parsed, renamed, and type checked ASTs

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by Edsko de Vries
Maintained by


Dump GHC's abstract syntax trees (parsed, renamed, and type checked) in text or JSON format. Useful for GHC devs or people who want to do something with GHC's AST but don't want to hook into the GHC API itself. Tested with GHC 7.4-8.0.


  • Make sure match groups (MGs) are shown in renamed tree (#10).

  • Build with ghc 8.0
  • Show nameUnique value for Name

  • Initial Hackage release. Thanks to all contributors (see CONTRIBUTORS)
comments powered byDisqus