2008-01-13 20:53:15 +03:00
|
|
|
name: parsec
|
2014-03-24 00:52:23 +04:00
|
|
|
version: 3.1.6
|
2011-01-29 18:59:20 +03:00
|
|
|
cabal-version: >= 1.6
|
2008-01-13 20:53:15 +03:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2010-03-04 07:09:29 +03:00
|
|
|
author: Daan Leijen <daan@microsoft.com>, Paolo Martini <paolo@nemail.it>
|
2011-01-29 18:47:58 +03:00
|
|
|
maintainer: Antoine Latter <aslatter@gmail.com>
|
2008-01-13 20:53:15 +03:00
|
|
|
homepage: http://www.cs.uu.nl/~daan/parsec.html
|
2014-03-24 05:06:15 +04:00
|
|
|
bug-reports: https://github.com/aslatter/parsec/issues
|
2008-01-13 20:53:15 +03:00
|
|
|
category: Parsing
|
|
|
|
synopsis: Monadic parser combinators
|
2008-03-06 08:02:48 +03:00
|
|
|
build-type: Simple
|
2008-01-13 20:53:15 +03:00
|
|
|
description:
|
|
|
|
Parsec is designed from scratch as an industrial-strength parser
|
|
|
|
library. It is simple, safe, well documented (on the package
|
|
|
|
homepage), has extensive libraries and good error messages,
|
2008-01-20 01:08:26 +03:00
|
|
|
and is also fast. It is defined as a monad transformer that can be
|
2008-01-13 20:53:15 +03:00
|
|
|
stacked on arbitrary monads, and it is also parametric in the
|
|
|
|
input stream type.
|
2012-06-12 06:07:43 +04:00
|
|
|
extra-source-files: CHANGES
|
2008-03-06 08:02:48 +03:00
|
|
|
|
2011-01-29 18:59:20 +03:00
|
|
|
source-repository head
|
2014-03-24 00:52:23 +04:00
|
|
|
type: git
|
|
|
|
location: https://github.com/aslatter/parsec
|
2011-01-29 18:59:20 +03:00
|
|
|
|
|
|
|
source-repository this
|
|
|
|
type: darcs
|
2014-03-24 00:52:23 +04:00
|
|
|
location: https://github.com/aslatter/parsec
|
|
|
|
tag: 3.1.6
|
2011-01-29 18:59:20 +03:00
|
|
|
|
2009-09-10 03:11:34 +04:00
|
|
|
flag base4
|
|
|
|
Description: Use base-4.*
|
|
|
|
Default: True
|
|
|
|
|
2008-03-06 08:02:48 +03:00
|
|
|
library
|
|
|
|
exposed-modules:
|
|
|
|
Text.Parsec,
|
|
|
|
Text.Parsec.String,
|
|
|
|
Text.Parsec.ByteString,
|
|
|
|
Text.Parsec.ByteString.Lazy,
|
2011-10-08 22:17:18 +04:00
|
|
|
Text.Parsec.Text,
|
|
|
|
Text.Parsec.Text.Lazy,
|
2008-03-06 08:02:48 +03:00
|
|
|
Text.Parsec.Pos,
|
|
|
|
Text.Parsec.Error,
|
|
|
|
Text.Parsec.Prim,
|
|
|
|
Text.Parsec.Char,
|
|
|
|
Text.Parsec.Combinator,
|
|
|
|
Text.Parsec.Token,
|
|
|
|
Text.Parsec.Expr,
|
|
|
|
Text.Parsec.Language,
|
|
|
|
Text.Parsec.Perm,
|
2008-02-17 06:53:24 +03:00
|
|
|
Text.ParserCombinators.Parsec,
|
|
|
|
Text.ParserCombinators.Parsec.Char,
|
|
|
|
Text.ParserCombinators.Parsec.Combinator,
|
|
|
|
Text.ParserCombinators.Parsec.Error,
|
|
|
|
Text.ParserCombinators.Parsec.Expr,
|
|
|
|
Text.ParserCombinators.Parsec.Language,
|
|
|
|
Text.ParserCombinators.Parsec.Perm,
|
|
|
|
Text.ParserCombinators.Parsec.Pos,
|
|
|
|
Text.ParserCombinators.Parsec.Prim,
|
|
|
|
Text.ParserCombinators.Parsec.Token
|
2009-12-16 00:44:03 +03:00
|
|
|
if flag(base4)
|
2010-09-08 09:37:47 +04:00
|
|
|
build-depends: base >= 4 && < 5
|
2009-12-16 00:44:03 +03:00
|
|
|
else
|
|
|
|
build-depends: base >= 3.0.3 && < 4
|
2010-09-08 09:37:47 +04:00
|
|
|
cpp-options: -DBASE3
|
2014-01-11 09:59:42 +04:00
|
|
|
build-depends: mtl, bytestring, text >= 0.2 && < 1.2
|
2010-09-08 09:37:47 +04:00
|
|
|
extensions: ExistentialQuantification, PolymorphicComponents, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts, DeriveDataTypeable, CPP
|
2008-03-06 08:02:48 +03:00
|
|
|
ghc-options: -O2
|