packages feed

jacinda-3.3.0.4: jacinda.cabal

cabal-version:      2.2
name:               jacinda
version:            3.3.0.4
license:            AGPL-3.0-only
license-file:       COPYING
maintainer:         vamchale@gmail.com
author:             Vanessa McHale
bug-reports:        https://github.com/vmchale/jacinda/issues
synopsis:           Functional, expression-oriented data processing language
description:
    APL meets AWK. A command-line tool for summarizing and reporting, powered by Rust's [regex](https://docs.rs/regex/) library.

category:           Language, Interpreters, Text, Data
build-type:         Simple
data-files:
    lib/*.jac
    lib/csv/*.jac
    lib/fs/*.jac
    prelude/*.jac

extra-doc-files:    CHANGELOG.md
extra-source-files:
    README.md
    man/ja.1
    doc/guide.pdf
    test/examples/*.jac
    examples/*.jac
    examples/otool/*.jac
    test/golden/*.out
    test/golden/*.bib
    test/data/*.nbib
    test/data/a.csv
    test/data/Cargo.lock
    test/data/cabal-info
    test/data/cabal-plan
    test/data/cdeps
    test/data/download.html
    test/data/env
    test/data/food-prices.csv
    test/data/fut-ctags
    test/data/ghc
    test/data/ghc-pkg
    test/data/git-tags
    test/data/ls
    test/data/otool
    test/data/py-ver
    test/data/python-site
    test/data/r-version
    test/data/readelf
    test/data/trailingWhitespace
    test/data/url

source-repository head
    type:     git
    location: https://github.com/vmchale/jacinda

flag cross
    description: Enable to ease cross-compiling
    default:     False
    manual:      True

common warnings
    ghc-options:
        -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
        -Wredundant-constraints -Widentities -Wcpp-undef
        -Wmissing-export-lists -Wunused-packages -Wno-x-partial
        -Wno-missing-signatures -Wredundant-bang-patterns
        -Wno-operator-whitespace-ext-conflict

library jacinda-lib
    import:             warnings
    exposed-modules:
        File
        A
        Ty
        Parser
        Jacinda.Regex

    hs-source-dirs:     src
    other-modules:
        A.I
        A.E
        L
        Nm
        U
        R
        Parser.Rw
        Ty.Const
        Jacinda.Check.Field
        Jacinda.Backend.Const
        Jacinda.Backend.T
        Jacinda.Backend.Printf
        Include
        Nm.Map
        NumParse
        Data.Vector.Ext
        C
        Paths_jacinda

    autogen-modules:    Paths_jacinda
    default-language:   Haskell2010
    ghc-options:        -O2
    build-depends:
        base >=4.11.0.0 && <5,
        bytestring >=0.11.2.0,
        dlist,
        text >=2.0.1,
        prettyprinter >=1.7.0,
        containers >=0.6.0.1,
        array,
        mtl,
        transformers,
        regex-rure >=0.1.2.0 && <1.0.0.0,
        microlens,
        directory,
        filepath,
        microlens-mtl >=0.1.8.0,
        vector >=0.12.2.0,
        split,
        deepseq,
        lazy-csv

    default-extensions:
        DeriveFunctor
        OverloadedStrings

    other-extensions:
        DeriveAnyClass
        DeriveGeneric
        DeriveFoldable
        DeriveTraversable
        TupleSections
        OverloadedLists

    if !flag(cross)
        build-tool-depends:
            , alex:alex    >=3.5.0.0
            , happy:happy  >=2.1

executable ja
    import:           warnings
    main-is:          Opt.hs
    hs-source-dirs:   x
    other-modules:    Paths_jacinda
    autogen-modules:  Paths_jacinda
    default-language: Haskell2010
    ghc-options:      -rtsopts "-with-rtsopts=-A200k -k32k"
    build-depends:
        , base
        , directory
        , jacinda-lib
        , optparse-applicative  >=0.14.1.0
        , text

test-suite jacinda-test
    import:           warnings
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts "-with-rtsopts=-N -K1K"
    build-depends:
        , base
        , bytestring
        , jacinda-lib
        , tasty
        , tasty-golden
        , tasty-hunit
        , temporary
        , text

benchmark jacinda-bench
    import:           warnings
    type:             exitcode-stdio-1.0
    main-is:          Bench.hs
    hs-source-dirs:   bench
    default-language: Haskell2010
    ghc-options:      -rtsopts "-with-rtsopts=-A200k -k32k"
    build-depends:
        base,
        bytestring,
        criterion,
        jacinda-lib,
        deepseq,
        text