mirror of
https://github.com/google/ghc-source-gen.git
synced 2024-10-26 22:37:41 +03:00
3aa49fff6f
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 . |
||
---|---|---|
.. | ||
Main.hs | ||
package.yaml | ||
README.md |
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