ghc-source-gen/ghc-show-ast
Judah Jacobson cf558caba5
Make ghc-show-ast independent of ghc-exactprint. (#22)
Lets us build it with (unreleased) ghc-8.8.  Also makes it possible
to test in CI without adding more dependencies.
2019-08-11 09:32:44 -07:00
..
Main.hs Make ghc-show-ast independent of ghc-exactprint. (#22) 2019-08-11 09:32:44 -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