ghc-source-gen/ghc-show-ast
Claudio Bley 20ff70b9e8
Support GHC 9.6 (#103)
* 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>
2023-12-20 11:17:57 -08:00
..
ghc-show-ast.cabal Commit cabal file (#88) 2021-08-20 13:23:49 -07:00
Main.hs Support GHC 9.6 (#103) 2023-12-20 11:17:57 -08:00
package.yaml Complete GHC 9 support and CI 2021-08-12 13:23:54 +01: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