haskell-tools-backend-ghc: Creating the Haskell-Tools AST from GHC's representations

[ bsd3, language, library ] [ Propose Tags ]

This package collects information from various representations of a Haskell program in GHC. Basically GHC provides us with the parsed, the renamed and the type checked representation of the program, if it was type correct. Each version contains different information. For example, the renamed AST contains the unique names of the definitions, however, template haskell splices are already resolved and thus missing from that version of the AST. To get the final representation we perform a transformation on the parsed and renamed representation, and then use the type checked one to look up the types of the names. The whole transformation is defined in the Modules module. Other modules define the functions that convert elements of the GHC AST to our AST.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.4.1.0, 0.4.1.1, 0.4.1.2, 0.4.1.3, 0.5.0.0, 0.6.0.0, 0.7.0.0, 0.8.0.0, 0.8.1.0, 0.9.0.0, 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.3, 1.0.0.4, 1.0.1.1, 1.1.0.0, 1.1.0.1, 1.1.0.2, 1.1.1.0
Dependencies base (>=4.9 && <4.10), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.6), ghc (>=8.0 && <8.1), haskell-tools-ast (>=0.4 && <0.5), mtl (>=2.2 && <2.3), references (>=0.3 && <0.4), safe (>=0.3 && <0.4), split (>=0.2 && <0.3), template-haskell (>=2.11 && <2.12), transformers (>=0.5 && <0.6), uniplate (>=1.6 && <1.7) [details]
License BSD-3-Clause
Author Boldizsar Nemeth
Maintainer nboldi@elte.hu
Category Language
Home page https://github.com/nboldi/haskell-tools
Uploaded by lazac at 2017-01-14T18:54:37Z
Distributions
Reverse Dependencies 5 direct, 3 indirect [details]
Downloads 13128 total (82 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-01-14 [all 1 reports]