-
Notifications
You must be signed in to change notification settings - Fork 38
/
parsers.cabal
110 lines (98 loc) · 3.13 KB
/
parsers.cabal
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
name: parsers
category: Text, Parsing
version: 0.12.9
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: experimental
homepage: http://github.com/ekmett/parsers/
bug-reports: http://github.com/ekmett/parsers/issues
copyright: Copyright (C) 2010-2013 Edward A. Kmett
synopsis: Parsing combinators
description:
This library provides convenient combinators for working with and building parsing combinator libraries.
.
Given a few simple instances, e.g. for the class 'Text.Parser.Combinators.Parsing' in "Text.Parser.Combinators.Parsing" you
get access to a large number of canned definitions. Instances exist for the parsers provided by @parsec@,
@attoparsec@ and base’s "Text.Read".
build-type: Simple
tested-with: GHC==7.0.4
, GHC==7.2.2
, GHC==7.4.2
, GHC==7.6.3
, GHC==7.8.4
, GHC==7.10.3
, GHC==8.0.2
, GHC==8.2.2
, GHC==8.4.4
, GHC==8.6.4
extra-source-files:
.travis.yml
CHANGELOG.markdown
README.markdown
HLint.hs
source-repository head
type: git
location: git://github.com/ekmett/parsers.git
flag binary
default: True
description:
You can disable the use of the `binary` package using `-f-binary`.
flag parsec
default: True
description:
You can disable the use of the `parsec` package using `-f-parsec`.
flag attoparsec
default: True
description:
You can disable the use of the `attoparsec` package using `-f-attoparsec`.
library
default-language: Haskell2010
exposed-modules:
Text.Parser.Char
Text.Parser.Combinators
Text.Parser.LookAhead
Text.Parser.Permutation
Text.Parser.Expression
Text.Parser.Token
Text.Parser.Token.Style
Text.Parser.Token.Highlight
hs-source-dirs: src
ghc-options: -Wall -fno-warn-wrong-do-bind -fwarn-monomorphism-restriction -fwarn-incomplete-record-updates
if impl(ghc >= 7.2)
ghc-options: -fwarn-identities -fwarn-incomplete-uni-patterns
build-depends:
base >= 4.3 && < 5,
base-orphans >= 0.3 && < 1,
charset >= 0.3 && < 1,
containers >= 0.4 && < 0.7,
semigroups >= 0.12 && < 1,
text >= 0.10 && < 1.3,
transformers >= 0.2 && < 0.6,
mtl >= 2.0.1 && < 2.3,
scientific >= 0.3 && < 0.4,
unordered-containers >= 0.2 && < 0.3
if flag(binary)
build-depends: binary >= 0.7.2 && < 1
if flag(parsec)
build-depends: parsec >= 3.1 && < 3.2
if flag(attoparsec)
build-depends: attoparsec >= 0.12.1.4 && < 0.14
test-suite quickcheck
type: exitcode-stdio-1.0
main-is: QuickCheck.hs
default-language: Haskell2010
build-depends:
base == 4.*,
bytestring,
parsers,
QuickCheck,
quickcheck-instances
ghc-options: -Wall -threaded
hs-source-dirs: tests
if flag(parsec)
build-depends: parsec >= 3
if flag(attoparsec)
build-depends: attoparsec