ghc-source-gen/ghc-show-ast/README.md
2019-07-09 13:58:46 -07:00

218 B

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