haskell-tools-ast: Haskell AST for efficient tooling

[ bsd3, language, library ] [ Propose Tags ]

A representation of a Haskell Syntax tree that contain source-related and semantic annotations. These annotations help developer tools to work with the defined program. The source information enables refactoring and program transformation tools to change the source code without losing the original format (layout, comments) of the source. Semantic information helps analyzing the program. The representation is different from the GHC's syntax tree. It contains information from all representations in GHC (different version of syntax trees, lexical and module-level information). The module is split up to put the representation of different language elements into different modules. Additionally, it contains the representation of semantic and source annotations, helper functions and generated instances for the representation of language elements. Because langauge elements may refer each other (there can be a pattern inside an expression in case of a pattern match and an expression inside a pattern if view patterns are enabled), we use hs-boot files to break up dependency cycles.

Versions [RSS] [faq],,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies base (>=4.11 && <4.13), classyplate (==0.3.*), ghc (>=8.4 && <8.7), mtl (==2.2.*), pretty (==1.1.*), references (==0.3.*), template-haskell (>=2.13 && <2.15), 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 2019-01-09T11:29:54Z
Distributions NixOS:
Downloads 14343 total (64 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2019-01-09 [all 3 reports]


  • Language
    • Haskell
      • Tools
        • Language.Haskell.Tools.AST
          • Language.Haskell.Tools.AST.Ann
          • Language.Haskell.Tools.AST.Helpers
          • Language.Haskell.Tools.AST.References
          • Language.Haskell.Tools.AST.SemaInfoClasses
          • Language.Haskell.Tools.AST.SemaInfoTypes


Maintainer's Corner

For package maintainers and hackage trustees