mirror of
https://github.com/google/ghc-source-gen.git
synced 2024-11-30 03:15:22 +03:00
cf558caba5
Lets us build it with (unreleased) ghc-8.8. Also makes it possible to test in CI without adding more dependencies. |
||
---|---|---|
.. | ||
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