ghc-dump
ghc-exactprint
Our great sponsors
ghc-dump | ghc-exactprint | |
---|---|---|
1 | 2 | |
53 | 67 | |
- | - | |
0.0 | 6.6 | |
over 1 year ago | 7 days ago | |
Haskell | Haskell | |
- | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ghc-dump
-
Deep embedding of Haskell in Haskell
It kind of sounds like you want to script GHC. There's a plugin system for that, you could check out https://github.com/bgamari/ghc-dump for example. This library also provides a consistent representation for Core across multiple GHC versions.
ghc-exactprint
-
Learning materials for ghc-exactprint?
If you're synthesizing code, beware that addAnnotationsForPretty will always add a preceding space, so it will break layout. The best approach I've found for synthesizing code is to construct an HsExpr GhcPs, use the GHC ppr stuff to prettty print it, and then parse that in order to get reasonable Anns for it.
What are some alternatives?
ghcup-hs - THIS REPO IS A MIRROR, BUG REPORTS GO HERE:
ghc-core
hint - Runtime Haskell interpreter
haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
ghc-whole-program-compiler-project - GHC Whole Program Compiler and External STG IR tooling
ghc-events - Library and tool for parsing .eventlog files from GHC
haskell-exercises - A little course to learn about some of the more obscure GHC extensions.
ghc-events-analyze
stan - 🕵️ Haskell STatic ANalyser
ghc-prof - Library for parsing GHC time and allocation profiling reports
ghc-core-html - Read ghc-core with style. javascript and CSS style.
ghc-imported-from - For a given Haskell source file, determine where a symbol is imported from