-
Notifications
You must be signed in to change notification settings - Fork 24
/
Earley.cabal
151 lines (137 loc) · 4.65 KB
/
Earley.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
name: Earley
version: 0.13.0.1
synopsis: Parsing all context-free grammars using Earley's algorithm.
description: See <https://www.github.com/ollef/Earley> for more
information and
<https://github.com/ollef/Earley/tree/master/examples> for
examples.
license: BSD3
license-file: LICENSE
author: Olle Fredriksson
maintainer: [email protected]
copyright: (c) 2014-2019 Olle Fredriksson
category: Parsing
build-type: Simple
cabal-version: >=1.10
tested-with: GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1, GHC==8.4.1
extra-source-files:
README.md
CHANGELOG.md
Flag Examples
Description: "Build examples"
Default: False
Manual: True
source-repository head
type: git
location: https://github.com/ollef/Earley.git
library
exposed-modules:
Text.Earley,
Text.Earley.Derived,
Text.Earley.Generator,
Text.Earley.Generator.Internal,
Text.Earley.Grammar,
Text.Earley.Mixfix,
Text.Earley.Parser,
Text.Earley.Parser.Internal
build-depends: base >=4.6 && <5, ListLike >=4.1
if impl(ghc < 8.0)
build-depends: semigroups >=0.18
default-language: Haskell2010
ghc-options: -Wall
-funbox-strict-fields
executable earley-english
if !flag(examples)
buildable: False
main-is: English.hs
ghc-options: -Wall
hs-source-dirs: examples
default-language: Haskell2010
build-depends: base, Earley, unordered-containers >=0.2
executable earley-expr
if !flag(examples)
buildable: False
main-is: Expr.hs
ghc-options: -Wall
hs-source-dirs: examples
default-language: Haskell2010
build-depends: base, Earley
executable earley-expr2
if !flag(examples)
buildable: False
main-is: Expr2.hs
ghc-options: -Wall
hs-source-dirs: examples
default-language: Haskell2010
build-depends: base, Earley
executable earley-mixfix
if !flag(examples)
buildable: False
main-is: Mixfix.hs
ghc-options: -Wall
hs-source-dirs: examples
default-language: Haskell2010
build-depends: base, Earley, unordered-containers
executable earley-roman-numerals
if !flag(examples)
buildable: False
main-is: RomanNumerals.hs
ghc-options: -Wall
hs-source-dirs: examples
default-language: Haskell2010
build-depends: base, Earley
executable earley-very-ambiguous
if !flag(examples)
buildable: False
main-is: VeryAmbiguous.hs
ghc-options: -Wall
hs-source-dirs: examples
default-language: Haskell2010
build-depends: base, Earley
executable earley-words
if !flag(examples)
buildable: False
main-is: Words.hs
ghc-options: -Wall
hs-source-dirs: examples
default-language: Haskell2010
build-depends: base, Earley
executable earley-infinite
if !flag(examples)
buildable: False
main-is: Infinite.hs
ghc-options: -Wall
hs-source-dirs: examples
default-language: Haskell2010
build-depends: base, Earley
benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: . bench
main-is: BenchAll.hs
build-depends: base, Earley, ListLike, deepseq, criterion >=1.1, parsec >=3.1
if impl(ghc < 8.0)
build-depends: semigroups >=0.18
default-language: Haskell2010
ghc-options: -Wall
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
ghc-options: -Wall
hs-source-dirs: tests
default-language: Haskell2010
build-depends: base, Earley, tasty >=0.10, tasty-quickcheck >=0.8, tasty-hunit >= 0.9, QuickCheck >= 2.8, containers >= 0.6
other-modules:
Arbitrary,
Constraint,
Empty,
Expr,
Generator,
InlineAlts,
Issue11,
Issue14,
Lambda,
Mixfix,
Optional,
ReversedWords,
UnbalancedPars,
VeryAmbiguous