File: trifecta.cabal

package info (click to toggle)
haskell-trifecta 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: haskell: 1,793; makefile: 3
file content (114 lines) | stat: -rw-r--r-- 3,525 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
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
name:          trifecta
category:      Text, Parsing, Diagnostics, Pretty Printer, Logging
version:       2.1.4
license:       BSD3
cabal-version: 1.18
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     experimental
homepage:      http://github.com/ekmett/trifecta/
bug-reports:   http://github.com/ekmett/trifecta/issues
copyright:     Copyright (C) 2010-2017 Edward A. Kmett
synopsis:      A modern parser combinator library with convenient diagnostics
description:
  A modern parser combinator library with slicing and Clang-style colored diagnostics
  .
  For example:
  .
  <<https://i.imgur.com/ZyzUSSn.png>>
  .
  <images/example.png (Local Copy)>

build-type:    Simple
tested-with:   GHC == 8.0.2
             , GHC == 8.2.2
             , GHC == 8.4.4
             , GHC == 8.6.5
             , GHC == 8.8.4
             , GHC == 8.10.7
             , GHC == 9.0.2
             , GHC == 9.2.8
             , GHC == 9.4.8
             , GHC == 9.6.4
             , GHC == 9.8.1

extra-doc-files:
  images/*.png

extra-source-files:
  examples/*.hs
  examples/LICENSE
  examples/rfc2616/*.hs
  examples/RFC2616.txt
  examples/RFC2616-malformed.txt
  examples/trifecta-examples.cabal
  CHANGELOG.markdown
  README.markdown

source-repository head
  type: git
  location: https://github.com/ekmett/trifecta

library
  exposed-modules:
    Text.Trifecta
    Text.Trifecta.Combinators
    Text.Trifecta.Delta
    Text.Trifecta.Highlight
    Text.Trifecta.Parser
    Text.Trifecta.Rendering
    Text.Trifecta.Result
    Text.Trifecta.Rope
    Text.Trifecta.Tutorial
    Text.Trifecta.Util.IntervalMap
    Text.Trifecta.Util.It

  other-modules:
    Text.Trifecta.Util.Combinators
    Text.Trifecta.Util.Pretty

  build-depends:
    ansi-terminal               >= 0.6     && < 1.2,
    array                       >= 0.5.1.1 && < 0.6,
    base                        >= 4.9     && < 5,
    blaze-builder               >= 0.3.0.1 && < 0.5,
    blaze-html                  >= 0.9     && < 0.10,
    blaze-markup                >= 0.8     && < 0.9,
    bytestring                  >= 0.9.1   && < 0.13,
    charset                     >= 0.3.5.1 && < 1,
    comonad                     >= 5       && < 6,
    containers                  >= 0.5.7.0 && < 0.8,
    deepseq                     >= 1.4.2.0 && < 1.6,
    fingertree                  >= 0.1     && < 0.2,
    ghc-prim,
    hashable                    >= 1.2.4   && < 1.5,
    indexed-traversable         >= 0.1.1   && < 0.2,
    lens                        >= 4.14    && < 6,
    mtl                         >= 2.2.1   && < 2.4,
    parsers                     >= 0.12.1  && < 1,
    prettyprinter               >= 1.7     && < 2,
    prettyprinter-ansi-terminal >= 1.1.2   && < 2,
    profunctors                 >= 5.2     && < 6,
    reducers                    >= 3.12.1  && < 4,
    transformers                >= 0.5     && < 0.7,
    unordered-containers        >= 0.2.1   && < 0.3,
    utf8-string                 >= 0.3.6   && < 1.1

  default-language: Haskell2010
  hs-source-dirs:   src
  ghc-options:      -O2 -Wall -Wcompat -Wnoncanonical-monad-instances -fobject-code
  if !impl(ghc >= 8.8)
    ghc-options: -Wnoncanonical-monadfail-instances

test-suite quickcheck
  type:    exitcode-stdio-1.0
  main-is: QuickCheck.hs
  default-language: Haskell2010
  build-depends:
    base == 4.*,
    parsers,
    QuickCheck,
    trifecta
  ghc-options: -Wall -threaded
  hs-source-dirs: tests