mirror of
https://github.com/google/ghc-source-gen.git
synced 2024-10-05 18:07:31 +03:00
20ff70b9e8
* Bump ghc version bounds for GHC 9.6 * Support GHC 9.6 * Remove some trailing whitespace * Start fixing hiding unused imports, more to come * Add stack config for GHC 9.6 * Add stack config for GHC 9.4 * Use GHC 9.2.8 with lts-20.26 * Adapt ghc-show-ast for GHC 9.6 * Remove unused imports * Guard imports for GHC versions * Only warn about dogdy and unused imports --------- Co-authored-by: Greg Steuck <greg@nest.cx> |
||
---|---|---|
.. | ||
ghc-show-ast.cabal | ||
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