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

[ bsd3, language, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Last Documentation]

  • Language
    • Haskell
      • Tools
        • Language.Haskell.Tools.BackendGHC
          • Language.Haskell.Tools.BackendGHC.Binds
          • Language.Haskell.Tools.BackendGHC.Decls
          • Language.Haskell.Tools.BackendGHC.Exprs
          • Language.Haskell.Tools.BackendGHC.GHCUtils
          • Language.Haskell.Tools.BackendGHC.Kinds
          • Language.Haskell.Tools.BackendGHC.Literals
          • Language.Haskell.Tools.BackendGHC.Modules
          • Language.Haskell.Tools.BackendGHC.Names
          • Language.Haskell.Tools.BackendGHC.Patterns
          • Language.Haskell.Tools.BackendGHC.Stmts
          • Language.Haskell.Tools.BackendGHC.TH
          • Language.Haskell.Tools.BackendGHC.Types

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.11 && <4.13), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.7), ghc (>=8.4 && <8.7), ghc-boot-th (>=8.4 && <8.7), haskell-tools-ast (>=1.1 && <1.2), mtl (>=2.2 && <2.3), references (>=0.3 && <0.4), safe (>=0.3 && <0.4), split (>=0.2 && <0.3), template-haskell (>=2.13 && <2.15), 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 2019-01-09T11:30:35Z
Distributions
Reverse Dependencies 5 direct, 3 indirect [details]
Downloads 13482 total (23 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2019-01-09 [all 3 reports]