edsko / ghc-dump-tree

Dump GHC's abstract syntax trees

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ghc-dump-tree

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 8.6. Older versions support 7.4-8.0 (see commit history).

About

Dump GHC's abstract syntax trees

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 96.4%Language:Shell 3.6%