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
|
name: s-cargot
version: 0.1.6.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
tested-with: GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.4, GHC == 9.4.2
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 && <3,
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 && <3
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 && <3
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 && <3
|