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.

Versions 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
Dependencies base (==4.10.*), bytestring (==0.10.*), containers (==0.5.*), ghc (==8.2.*), ghc-boot-th (==8.2.*), haskell-tools-ast (==1.0.*), mtl (==2.2.*), references (==0.3.*), safe (==0.3.*), split (==0.2.*), template-haskell (==2.12.*), transformers (==0.5.*), uniplate (==1.6.*) [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 Fri Jan 12 07:05:49 UTC 2018
Distributions LTSHaskell:1.0.1.1, NixOS:1.0.1.1, openSUSE:1.0.1.1
Downloads 3001 total (32 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-01-13 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees