Popularity
9.2
Stable
Activity
6.6
-
67
14
32

Monthly Downloads: 398
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Development     GHC    
Latest version: v0.6.3.2

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.

Do you think we are missing an alternative of ghc-exactprint or a related project?

Add another 'ghc' Package

README

ghc-exactprint

Available on Hackage License BSD3 Build Status

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.