|
|
1377b72 |
name: megaparsec
|
|
|
1377b72 |
version: 6.5.0
|
|
|
1377b72 |
x-revision: 4
|
|
|
1377b72 |
cabal-version: 1.18
|
|
|
1377b72 |
tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
|
|
|
1377b72 |
license: BSD2
|
|
|
1377b72 |
license-file: LICENSE.md
|
|
|
1377b72 |
author: Megaparsec contributors,
|
|
|
1377b72 |
Paolo Martini <paolo@nemail.it>,
|
|
|
1377b72 |
Daan Leijen <daan@microsoft.com>
|
|
|
1377b72 |
|
|
|
1377b72 |
maintainer: Mark Karpov <markkarpov92@gmail.com>
|
|
|
1377b72 |
homepage: https://github.com/mrkkrp/megaparsec
|
|
|
1377b72 |
bug-reports: https://github.com/mrkkrp/megaparsec/issues
|
|
|
1377b72 |
category: Parsing
|
|
|
1377b72 |
synopsis: Monadic parser combinators
|
|
|
1377b72 |
build-type: Simple
|
|
|
1377b72 |
description:
|
|
|
1377b72 |
|
|
|
1377b72 |
This is an industrial-strength monadic parser combinator library.
|
|
|
1377b72 |
Megaparsec is a feature-rich package that strikes a nice balance between
|
|
|
1377b72 |
speed, flexibility, and quality of parse errors.
|
|
|
1377b72 |
|
|
|
1377b72 |
extra-doc-files: AUTHORS.md
|
|
|
1377b72 |
, CHANGELOG.md
|
|
|
1377b72 |
, README.md
|
|
|
1377b72 |
|
|
|
1377b72 |
source-repository head
|
|
|
1377b72 |
type: git
|
|
|
1377b72 |
location: https://github.com/mrkkrp/megaparsec.git
|
|
|
1377b72 |
|
|
|
1377b72 |
flag dev
|
|
|
1377b72 |
description: Turn on development settings.
|
|
|
1377b72 |
manual: True
|
|
|
1377b72 |
default: False
|
|
|
1377b72 |
|
|
|
1377b72 |
library
|
|
|
1377b72 |
build-depends: base >= 4.7 && < 5.0
|
|
|
1377b72 |
, bytestring >= 0.2 && < 0.11
|
|
|
1377b72 |
, case-insensitive >= 1.2 && < 1.3
|
|
|
1377b72 |
, containers >= 0.5 && < 0.7
|
|
|
1377b72 |
, deepseq >= 1.3 && < 1.5
|
|
|
1377b72 |
, mtl >= 2.0 && < 3.0
|
|
|
1377b72 |
, parser-combinators >= 0.4 && < 2.0
|
|
|
1377b72 |
, scientific >= 0.3.1 && < 0.4
|
|
|
1377b72 |
, text >= 0.2 && < 1.3
|
|
|
1377b72 |
, transformers >= 0.4 && < 0.6
|
|
|
1377b72 |
if !impl(ghc >= 8.0)
|
|
|
1377b72 |
build-depends: fail == 4.9.*
|
|
|
1377b72 |
, semigroups == 0.18.*
|
|
|
1377b72 |
if !impl(ghc >= 7.10)
|
|
|
1377b72 |
build-depends: void == 0.7.*
|
|
|
1377b72 |
exposed-modules: Text.Megaparsec
|
|
|
1377b72 |
, Text.Megaparsec.Byte
|
|
|
1377b72 |
, Text.Megaparsec.Byte.Lexer
|
|
|
1377b72 |
, Text.Megaparsec.Char
|
|
|
1377b72 |
, Text.Megaparsec.Char.Lexer
|
|
|
1377b72 |
, Text.Megaparsec.Error
|
|
|
1377b72 |
, Text.Megaparsec.Error.Builder
|
|
|
1377b72 |
, Text.Megaparsec.Expr
|
|
|
1377b72 |
, Text.Megaparsec.Internal
|
|
|
1377b72 |
, Text.Megaparsec.Perm
|
|
|
1377b72 |
, Text.Megaparsec.Pos
|
|
|
1377b72 |
, Text.Megaparsec.Stream
|
|
|
1377b72 |
other-modules: Text.Megaparsec.Class
|
|
|
1377b72 |
, Text.Megaparsec.State
|
|
|
1377b72 |
if flag(dev)
|
|
|
1377b72 |
ghc-options: -O0 -Wall -Werror
|
|
|
1377b72 |
else
|
|
|
1377b72 |
ghc-options: -O2 -Wall
|
|
|
1377b72 |
if flag(dev) && impl(ghc >= 8.0)
|
|
|
1377b72 |
ghc-options: -Wcompat
|
|
|
1377b72 |
-Wincomplete-record-updates
|
|
|
1377b72 |
-Wincomplete-uni-patterns
|
|
|
1377b72 |
-Wnoncanonical-monad-instances
|
|
|
1377b72 |
-Wnoncanonical-monadfail-instances
|
|
|
1377b72 |
default-language: Haskell2010
|
|
|
1377b72 |
|
|
|
1377b72 |
test-suite tests
|
|
|
1377b72 |
main-is: Main.hs
|
|
|
1377b72 |
hs-source-dirs: tests
|
|
|
1377b72 |
type: exitcode-stdio-1.0
|
|
|
1377b72 |
if flag(dev)
|
|
|
1377b72 |
ghc-options: -O0 -Wall -Werror
|
|
|
1377b72 |
else
|
|
|
1377b72 |
ghc-options: -O2 -Wall
|
|
|
1377b72 |
other-modules: Spec
|
|
|
1377b72 |
, Control.Applicative.CombinatorsSpec
|
|
|
1377b72 |
, Control.Monad.CombinatorsSpec
|
|
|
1377b72 |
, Test.Hspec.Megaparsec
|
|
|
1377b72 |
, Test.Hspec.Megaparsec.AdHoc
|
|
|
1377b72 |
, Text.Megaparsec.Byte.LexerSpec
|
|
|
1377b72 |
, Text.Megaparsec.ByteSpec
|
|
|
1377b72 |
, Text.Megaparsec.Char.LexerSpec
|
|
|
1377b72 |
, Text.Megaparsec.CharSpec
|
|
|
1377b72 |
, Text.Megaparsec.ErrorSpec
|
|
|
1377b72 |
, Text.Megaparsec.ExprSpec
|
|
|
1377b72 |
, Text.Megaparsec.PermSpec
|
|
|
1377b72 |
, Text.Megaparsec.PosSpec
|
|
|
1377b72 |
, Text.Megaparsec.StreamSpec
|
|
|
1377b72 |
, Text.MegaparsecSpec
|
|
|
1377b72 |
build-depends: QuickCheck >= 2.7 && < 2.13
|
|
|
1377b72 |
, base >= 4.7 && < 5.0
|
|
|
1377b72 |
, bytestring >= 0.2 && < 0.11
|
|
|
1377b72 |
, containers >= 0.5 && < 0.7
|
|
|
1377b72 |
, hspec >= 2.0 && < 3.0
|
|
|
1377b72 |
, hspec-expectations >= 0.5 && < 0.9
|
|
|
1377b72 |
, megaparsec
|
|
|
1377b72 |
, mtl >= 2.0 && < 3.0
|
|
|
1377b72 |
, scientific >= 0.3.1 && < 0.4
|
|
|
1377b72 |
, text >= 0.2 && < 1.3
|
|
|
1377b72 |
, transformers >= 0.4 && < 0.6
|
|
|
1377b72 |
build-tools: hspec-discover >= 2.0 && < 3.0
|
|
|
1377b72 |
if !impl(ghc >= 8.0)
|
|
|
1377b72 |
build-depends: semigroups == 0.18.*
|
|
|
1377b72 |
if !impl(ghc >= 7.10)
|
|
|
1377b72 |
build-depends: void == 0.7.*
|
|
|
1377b72 |
default-language: Haskell2010
|
|
|
1377b72 |
|
|
|
1377b72 |
benchmark bench-speed
|
|
|
1377b72 |
main-is: Main.hs
|
|
|
1377b72 |
hs-source-dirs: bench/speed
|
|
|
1377b72 |
type: exitcode-stdio-1.0
|
|
|
1377b72 |
build-depends: base >= 4.7 && < 5.0
|
|
|
1377b72 |
, criterion >= 0.6.2.1 && < 1.6
|
|
|
1377b72 |
, deepseq >= 1.3 && < 1.5
|
|
|
1377b72 |
, megaparsec
|
|
|
1377b72 |
, text >= 0.2 && < 1.3
|
|
|
1377b72 |
if !impl(ghc >= 8.0)
|
|
|
1377b72 |
build-depends: semigroups == 0.18.*
|
|
|
1377b72 |
if !impl(ghc >= 7.10)
|
|
|
1377b72 |
build-depends: void == 0.7.*
|
|
|
1377b72 |
if flag(dev)
|
|
|
1377b72 |
ghc-options: -O2 -Wall -Werror
|
|
|
1377b72 |
else
|
|
|
1377b72 |
ghc-options: -O2 -Wall
|
|
|
1377b72 |
default-language: Haskell2010
|
|
|
1377b72 |
|
|
|
1377b72 |
benchmark bench-memory
|
|
|
1377b72 |
main-is: Main.hs
|
|
|
1377b72 |
hs-source-dirs: bench/memory
|
|
|
1377b72 |
type: exitcode-stdio-1.0
|
|
|
1377b72 |
build-depends: base >= 4.7 && < 5.0
|
|
|
1377b72 |
, deepseq >= 1.3 && < 1.5
|
|
|
1377b72 |
, megaparsec
|
|
|
1377b72 |
, text >= 0.2 && < 1.3
|
|
|
1377b72 |
, weigh >= 0.0.4
|
|
|
1377b72 |
if !impl(ghc >= 8.0)
|
|
|
1377b72 |
build-depends: semigroups == 0.18.*
|
|
|
1377b72 |
if !impl(ghc >= 7.10)
|
|
|
1377b72 |
build-depends: void == 0.7.*
|
|
|
1377b72 |
if flag(dev)
|
|
|
1377b72 |
ghc-options: -O2 -Wall -Werror
|
|
|
1377b72 |
else
|
|
|
1377b72 |
ghc-options: -O2 -Wall
|
|
|
1377b72 |
default-language: Haskell2010
|