gdritter repos s-cargot / master s-cargot.cabal
master

Tree @master (Download .tar.gz)

s-cargot.cabal @master

3cbbd50
ded0edb
8212755
ed1b3db
8212755
 
 
 
 
 
 
 
3cbbd50
 
15fd7d6
 
 
3cbbd50
 
 
a24ab51
f1754ef
 
 
3cbbd50
ed1b3db
d691c39
 
 
 
 
 
ed1b3db
ded0edb
3cbbd50
091264e
 
d01604d
 
 
ed1b3db
 
ac77756
94563a1
2b126f2
ed1b3db
 
14c258a
 
 
 
d01604d
14c258a
 
c6c8675
ded0edb
c6c8675
2ba5c51
d691c39
2ba5c51
c6c8675
 
 
 
 
 
 
 
d691c39
ded0edb
d691c39
 
 
 
 
b847769
d691c39
 
 
 
a4202ea
ded0edb
a4202ea
 
 
 
 
 
 
 
 
 
name:                s-cargot
version:             0.1.4.0
synopsis:            A flexible, extensible s-expression library.
homepage:            https://github.com/aisamanra/s-cargot
description:         S-Cargot is a library for working with s-expressions in
                     a modular and extensible way, opting for genericity and
                     flexibility instead of speed. Instead of understanding
                     one particular form of s-expression, the S-Cargot library
                     exposes tools for parsing or emitting different kinds of
                     s-expressions, including features not normally included
                     in an s-expression library like reader macros or tight
                     control over indentation in pretty-printing.
license:             BSD3
license-file:        LICENSE
author:              Getty Ritter <s-cargot@infinitenegativeutility.com>
maintainer:          Getty Ritter <s-cargot@infinitenegativeutility.com>
copyright:           ©2018 Getty Ritter
category:            Data
build-type:          Simple
cabal-version:       >=1.10
bug-reports:         https://github.com/aisamanra/s-cargot/issues
extra-source-files:  README.md,
                     CHANGELOG.md,
                     test/*.sexp

source-repository head
  type: git
  location: git://github.com/aisamanra/s-cargot.git

flag build-example
  description: Build example application
  default:     False


library
  exposed-modules:     Data.SCargot,
                       Data.SCargot.Repr,
                       Data.SCargot.Repr.Basic,
                       Data.SCargot.Repr.Rich,
                       Data.SCargot.Repr.WellFormed,
                       Data.SCargot.Parse,
                       Data.SCargot.Print,
                       Data.SCargot.Atom,
                       Data.SCargot.Comments,
                       Data.SCargot.Common,
                       Data.SCargot.Language.Basic,
                       Data.SCargot.Language.HaskLike
  build-depends:       base        >=4.7 && <5,
                       parsec      >=3.1 && <4,
                       text        >=1.2 && <2,
                       containers  >=0.5 && <1
  default-language:    Haskell2010
  default-extensions:  CPP
  ghc-options:         -Wall


executable example
  if !flag(build-example)
    buildable:         False
  main-is:           example.hs
  hs-source-dirs:      example
  build-depends:       base        >=4.7 && <5,
                       containers  >=0.5 && <1,
                       parsec      >=3.1 && <4,
                       s-cargot               ,
                       text        >=1.2 && <2
  default-language:    Haskell2010
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N


test-suite s-cargot-qc
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          SCargotQC.hs
  build-depends:    s-cargot,
                    base          >=4.7 && <5,
                    parsec        >=3.1 && <4,
                    QuickCheck    >=2.8 && <3,
                    text          >=1.2 && <2


test-suite s-cargot-printparse
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          SCargotPrintParse.hs
  build-depends:    s-cargot,
                    base          >=4.7 && <5,
                    parsec        >=3.1 && <4,
                    HUnit         >=1.6 && <1.7,
                    text          >=1.2 && <2