ghc-exactprint alternatives and similar packages
Based on the "ghc" category.
Alternatively, view ghc-exactprint alternatives based on common mentions on social networks and blogs.
-
ghc-source-gen
Library for generating Haskell source files and code fragments. -
ghc-events
Library and tool for parsing .eventlog files from GHC -
ghc-typelits-natnormalise
Normalise GHC.TypeLits.Nat equations -
ghc-typelits-extra
Extra type-level operations on GHC.TypeLits.Nat and a custom solver -
ghc-typelits-knownnat
Derive KnownNat constraints from other KnownNat constraints -
ghc-make
An alternative to ghc --make which supports parallel compilation of modules and runs faster when nothing needs compiling. -
ghc-imported-from
For a given Haskell source file, determine where a symbol is imported from -
ghc-datasize
ghc-datasize is a tool to determine the size of Haskell data structures in GHC's memory -
ghc-core-html
Read ghc-core with style. javascript and CSS style. -
ghc-tags-plugin
Generate tags file for haskell modules (GHC) -
ghc-time-alloc-prof
Library for parsing GHC time and allocation profiling reports -
ghc-prof
Library for parsing GHC time and allocation profiling reports -
ghc-trace-events
ByteString/Text variants of Debug.Trace.traceEvent/traceMarker and binary event logging -
ghc-pkg-autofix
Simple utility to fix BROKEN package dependencies for cabal-install. -
ghc-srcspan-plugin
Generic GHC Plugin for annotating Haskell code with source location data.
Static code analysis for 29 languages.
Do you think we are missing an alternative of ghc-exactprint or a related project?
README
ghc-exactprint
GHC version of haskell-src-exts exactPrint
Note: This only works with GHC 7.10.2 and beyond. As of now (2015-06-03) GHC 7.10.2 is not yet released
Building with stack
Requires stack Version 0.1.1.0, Git revision 91fe70306f51eb3d68667a0d6e09a7d7ebbeb2b6
or later
GHC 7.10.2 (rc2 and later)
Ensure the right GHC is on your path using https://github.com/spl/multi-ghc
ghc-config 7.10.1.20150619
Build, test
stack build
stack test
GHC 7.11.20150621 and later
Ensure the right GHC is on your path using https://github.com/spl/multi-ghc
ghc-config 7.11.20150621
Build, test
stack --skip-ghc-check --stack-yaml stack-7.11.yaml build
stack --skip-ghc-check --stack-yaml stack-7.11.yaml test
Current Limitations
- Does not process CPP properly [should be sorted soon]
- Does not process Lhs files properly
- Does not properly process multi-line strings in WARNING and DEPRECATED pragmas [ see https://phabricator.haskell.org/D907 which missed the cut for 7.10.2 due to AST change ]
- Does not preserve the unicode * character, reducing it to a standard one.
*Note that all licence references and agreements mentioned in the ghc-exactprint README section above
are relevant to that project's source code only.