File: parsec.cabal

package info (click to toggle)
haskell-parsec 3.1.11-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 284 kB
  • ctags: 1
  • sloc: haskell: 1,818; makefile: 3
file content (87 lines) | stat: -rw-r--r-- 2,581 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name:		parsec
version:	3.1.11
cabal-version: >= 1.8
license:	BSD3
license-file:	LICENSE
author:		Daan Leijen <daan@microsoft.com>, Paolo Martini <paolo@nemail.it>
maintainer:	Antoine Latter <aslatter@gmail.com>
homepage:	https://github.com/aslatter/parsec
bug-reports:    https://github.com/aslatter/parsec/issues
category:	Parsing
synopsis:	Monadic parser combinators
build-type:     Simple
description:
	Parsec is designed from scratch as an industrial-strength parser
	library.  It is simple, safe, well documented (on the package
	homepage), has extensive libraries, good error messages,
	and is fast.  It is defined as a monad transformer that can be
	stacked on arbitrary monads, and it is also parametric in the
	input stream type.
extra-source-files: CHANGES, README.md
tested-with:    GHC==7.10.*, GHC==7.8.*, GHC==7.6.*

source-repository head
    type: git
    location: https://github.com/aslatter/parsec

library
    exposed-modules:
        Text.Parsec,
        Text.Parsec.String,
        Text.Parsec.ByteString,
        Text.Parsec.ByteString.Lazy,
        Text.Parsec.Text,
        Text.Parsec.Text.Lazy,
        Text.Parsec.Pos,
        Text.Parsec.Error,
        Text.Parsec.Prim,
        Text.Parsec.Char,
        Text.Parsec.Combinator,
        Text.Parsec.Token,
        Text.Parsec.Expr,
        Text.Parsec.Language,
        Text.Parsec.Perm,
        Text.ParserCombinators.Parsec,
        Text.ParserCombinators.Parsec.Char,
        Text.ParserCombinators.Parsec.Combinator,
        Text.ParserCombinators.Parsec.Error,
        Text.ParserCombinators.Parsec.Expr,
        Text.ParserCombinators.Parsec.Language,
        Text.ParserCombinators.Parsec.Perm,
        Text.ParserCombinators.Parsec.Pos,
        Text.ParserCombinators.Parsec.Prim,
        Text.ParserCombinators.Parsec.Token

    build-depends:
       base >= 4 && < 5,
       mtl,
       bytestring,
       text >= 0.2 && < 1.3

    extensions:
       ExistentialQuantification,
       PolymorphicComponents,
       MultiParamTypeClasses,
       FlexibleInstances,
       FlexibleContexts,
       DeriveDataTypeable,
       CPP

Test-Suite tests
    type:        exitcode-stdio-1.0
    hs-source-dirs:  test
    main-is:     Main.hs
    other-modules:
                 Bugs,
                 Bugs.Bug2,
                 Bugs.Bug6,
                 Bugs.Bug9,
                 Bugs.Bug35,
                 Util
    build-depends:
       base,
       parsec,
       HUnit >= 1.2 && < 1.4,
       test-framework >= 0.6 && < 0.9,
       test-framework-hunit >= 0.2 && < 0.4
    ghc-options: -Wall