Name: haskell-src-exts
Version: 1.17.1
License: BSD3
License-File: LICENSE
Build-Type: Simple
Author: Niklas Broberg
Maintainer: Niklas Broberg <niklas.broberg@chalmers.se>, Roman Cheplyaka <roma@ro-che.info>
Category: Language
Synopsis: Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer
Description: Haskell-Source with Extensions (HSE, haskell-src-exts)
is an extension of the standard haskell-src package,
and handles most registered syntactic extensions to Haskell, including:
.
* Multi-parameter type classes with functional dependencies
.
* Indexed type families (including associated types)
.
* Empty data declarations
.
* GADTs
.
* Implicit parameters
.
* Template Haskell
.
and a few more. All extensions implemented in GHC are supported.
Apart from these standard extensions,
it also handles regular patterns as per the HaRP extension
as well as HSX-style embedded XML syntax.
Homepage: https://github.com/haskell-suite/haskell-src-exts
Stability: Stable
Cabal-Version: >= 1.10
Extra-Source-Files:
README.md
CHANGELOG
tests/examples/*.hs
tests/examples/*.lhs
tests/examples/*.hs.parser.golden
tests/examples/*.lhs.parser.golden
tests/examples/*.hs.exactprinter.golden
tests/examples/*.lhs.exactprinter.golden
tests/examples/*.hs.prettyprinter.golden
tests/examples/*.lhs.prettyprinter.golden
tests/examples/*.hs.prettyparser.golden
tests/examples/*.lhs.prettyparser.golden
tests/Runner.hs
tests/Extensions.hs
Library
Default-language: Haskell98
Build-Tools: happy >= 1.19
Build-Depends: array >= 0.1, pretty >= 1.0, cpphs >= 1.3,
base >= 4.5 && < 5,
-- this is needed to access GHC.Generics on GHC 7.4
ghc-prim
Exposed-modules: Language.Haskell.Exts,
Language.Haskell.Exts.Lexer,
Language.Haskell.Exts.Parser,
Language.Haskell.Exts.Pretty,
Language.Haskell.Exts.Syntax,
Language.Haskell.Exts.Extension,
Language.Haskell.Exts.Build,
Language.Haskell.Exts.Fixity,
Language.Haskell.Exts.Comments,
Language.Haskell.Exts.SrcLoc,
Language.Haskell.Exts.Annotated,
Language.Haskell.Exts.Annotated.Syntax,
Language.Haskell.Exts.Annotated.Fixity,
Language.Haskell.Exts.Annotated.Build,
Language.Haskell.Exts.Annotated.ExactPrint,
Language.Haskell.Exts.Annotated.Simplify,
Language.Haskell.Exts.Annotated.Parser,
Language.Haskell.Exts.Annotated.Comments
Other-modules: Language.Haskell.Exts.ExtScheme,
Language.Haskell.Exts.ParseMonad,
Language.Haskell.Exts.ParseSyntax,
Language.Haskell.Exts.InternalLexer,
Language.Haskell.Exts.ParseUtils,
Language.Haskell.Exts.InternalParser
Hs-source-dirs: src
Ghc-options: -Wall
Source-Repository head
Type: git
Location: https://github.com/haskell-suite/haskell-src-exts.git
Test-Suite test
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Runner.hs
GHC-Options: -threaded -Wall
Default-language: Haskell2010
Build-depends: base < 5,
mtl,
containers,
haskell-src-exts,
smallcheck >= 1.0,
tasty >= 0.3,
tasty-smallcheck,
tasty-golden >= 2.2.2 && < 2.3 ,
filepath,
directory,
syb,
pretty-show