madlang-2.3.0.4: madlang.cabal
name: madlang
version: 2.3.0.4
synopsis: Randomized templating language DSL
description: Please see README.md
homepage: https://github.com/vmchale/madlang#readme
license: BSD3
license-file: LICENSE
author: Vanessa McHale
maintainer: tmchale@wisc.edu
copyright: Copyright: (c) 2016 Vanessa McHale
category: Web
build-type: Simple
stability: experimental
extra-source-files: README.md
, test/templates/*.mad
, test/templates/err/*.mad
, demo/*.mad
, default.nix
, release.nix
, stack.yaml
, bash/mkCompletions
cabal-version: >=1.10
Flag llvm-fast {
Description: Enable build with llvm backend
Default: False
}
library
hs-source-dirs: src
exposed-modules: Text.Madlibs
other-modules: Text.Madlibs.Ana.ParseUtils
, Text.Madlibs.Cata.Run
, Text.Madlibs.Ana.Parse
, Text.Madlibs.Ana.Resolve
, Text.Madlibs.Internal.Types
, Text.Madlibs.Generate.TH
, Text.Madlibs.Internal.Utils
, Text.Madlibs.Cata.SemErr
, Text.Madlibs.Cata.Display
, Text.Madlibs.Exec.Main
, Paths_madlang
build-depends: base >= 4.7 && < 5
, megaparsec
, text
, optparse-applicative
, template-haskell
, MonadRandom
, composition
, directory
, file-embed
, random-shuffle
, microlens
, mtl
, ansi-wl-pprint
, containers
default-language: Haskell2010
default-extensions: OverloadedStrings
, DeriveGeneric
, DeriveFunctor
, DeriveAnyClass
executable madlang
hs-source-dirs: app
main-is: Main.hs
if flag(llvm-fast)
ghc-options: -threaded -static -fllvm -optlo-O3 -O3
---optc-static -optl-static
else
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, madlang
default-language: Haskell2010
benchmark madlang-bench
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Bench.hs
build-depends: base
, criterion
, madlang
, megaparsec
, text
if flag(llvm-fast)
ghc-options: -threaded -fllvm -optlo-O3 -O3
else
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O3
default-language: Haskell2010
test-suite madlang-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Demo
build-depends: base
, madlang
, hspec
, megaparsec
, text
, mtl
, hspec-megaparsec
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/vmchale/madlang