-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathincremental-parser.cabal
54 lines (48 loc) · 2.43 KB
/
incremental-parser.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
Name: incremental-parser
Version: 0.5.1
Cabal-Version: >= 1.10
Build-Type: Simple
Synopsis: Generic parser library capable of providing partial results from partial input.
Category: Parsing
Tested-With: GHC
Description:
This package defines yet another parser combinator library. This one is implemented using the concept of Brzozowski
derivatives, tweaked and optimized to work with any monoidal input type. Lists, ByteString, and Text are supported out
of the box, as well as any other data type for which the monoid-subclasses package defines instances. If the parser
result is also a monoid, its chunks can be extracted incrementally, before the complete input is parsed.
License: GPL-3
License-file: LICENSE.txt
Copyright: (c) 2011-2023 Mario Blazevic
Author: Mario Blazevic
Maintainer: [email protected]
Homepage: https://github.com/blamario/incremental-parser
Extra-Source-Files: Benchmarks/airports.dat, README.md, CHANGELOG.md
Source-repository head
type: git
location: https://github.com/blamario/incremental-parser
Library
hs-source-dirs: src
Exposed-Modules: Text.ParserCombinators.Incremental,
Text.ParserCombinators.Incremental.LeftBiasedLocal, Text.ParserCombinators.Incremental.Symmetric,
Control.Applicative.Monoid
Build-Depends: base >= 4.9 && < 5, transformers >= 0.5 && < 0.7, logict >= 0.6 && < 0.9, parsers < 0.13,
monoid-subclasses < 1.3, rank2classes >= 1.0 && < 1.6, input-parsers < 0.4
ghc-options: -Wall
if impl(ghc >= 7.0.0)
default-language: Haskell2010
test-suite Main
Type: exitcode-stdio-1.0
x-uses-tf: true
Default-Language: Haskell2010
Build-Depends: base < 5, incremental-parser, monoid-subclasses < 1.3,
QuickCheck >= 2 && < 3, checkers >= 0.3.2 && < 0.7,
tasty >= 0.7 && < 1.6, tasty-quickcheck >= 0.7 && < 1.0
Main-is: Test/TestIncrementalParser.hs
benchmark CSV
type: exitcode-stdio-1.0
Default-Language: Haskell2010
hs-source-dirs: Benchmarks
ghc-options: -O2 -Wall -rtsopts
main-is: CSV.hs
Build-Depends: base < 5, incremental-parser, monoid-subclasses < 1.3,
bytestring >= 0.10.4.0, criterion >= 1.0, deepseq >= 1.1, text >= 1.1.1.0