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 [faq],,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies base (==4.10.*), ghc (==8.2.*), mtl (==2.2.*), references (==0.3.*), template-haskell (==2.12.*), 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 Tue Dec 12 01:33:40 UTC 2017
Distributions NixOS:
Downloads 6161 total (527 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-12-12 [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