ghc-source-gen/ghc-show-ast
Judah Jacobson 3aa49fff6f
Support ghc-8.10. (#69)
The biggest API change is that ghc-8.10 organizes its modules into
a hierarchy, such as `GHC.Hs.Expr` instead of `HsExpr`. To work
around that without adding even more CPP, I added some `other-modules`
providing the new names for older GHC releases.

Fixes #65 .
2020-05-22 11:07:15 -07:00
..
Main.hs Support ghc-8.10. (#69) 2020-05-22 11:07:15 -07:00
package.yaml Make ghc-show-ast independent of ghc-exactprint. (#22) 2019-08-11 09:32:44 -07:00
README.md Initial commit. 2019-07-09 13:58:46 -07:00

ghc-show-ast helps debug the behavior of GHC that ghc-source-gen is trying to imitate. This program parses a source file with GHC and then pretty-prints the AST.

To use:

stack run ghc-show-ast -- path/to/file.hs