ghc-lib VS ghc-exactprint

Compare ghc-lib vs ghc-exactprint and see what are their differences.

ghc-lib

The GHC API, decoupled from GHC versions (by digital-asset)

ghc-exactprint

GHC version of haskell-src-exts exactPrint (by alanz)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ghc-lib ghc-exactprint
1 2
160 67
0.0% -
7.6 6.6
2 days ago 5 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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-lib

Posts with mentions or reviews of ghc-lib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-10.

ghc-exactprint

Posts with mentions or reviews of ghc-exactprint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-10.
  • Learning materials for ghc-exactprint?
    5 projects | /r/haskell | 10 Jun 2021
    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?

When comparing ghc-lib and ghc-exactprint you can also consider the following projects:

ghc-make - An alternative to ghc --make which supports parallel compilation of modules and runs faster when nothing needs compiling.

ghc-core

ghc-mod

haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.

ghc-trace-events - ByteString/Text variants of Debug.Trace.traceEvent/traceMarker and binary event logging

ghc-events - Library and tool for parsing .eventlog files from GHC

ghc-core-html - Read ghc-core with style. javascript and CSS style.

ghc-events-analyze

ghc-vis - Visualize live Haskell data structures in GHCi

ghc-imported-from - For a given Haskell source file, determine where a symbol is imported from

ghc-parmake - A parallel wrapper for 'ghc --make'.