packages feed

brainheck-0.1.0.2: brainheck.cabal

name:                brainheck
version:             0.1.0.2
synopsis:            Brainh*ck interpreter in haskell
description:         Brainh*ck interpreter written in haskell and taking advantage of many prominent libraries
homepage:            https://github.com/vmchale/brainheck#readme
license:             BSD3
license-file:        LICENSE
author:              Vanessa McHale
maintainer:          tmchale@wisc.edu
copyright:           Copyright: (c) 2016 Vanessa McHale
category:            Web
build-type:          Simple
extra-source-files:  README.md
                   , stack.yaml
                   , bf/helloworld.bf
                   , default.nix
                   , release.nix
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Brainheck
  build-depends:       base >= 4.7 && < 5
                     , mtl
                     , vector
                     , recursion-schemes
                     , text
                     , lens
                     , megaparsec
                     , containers
  default-language:    Haskell2010
  default-extensions:  DeriveFunctor
                     , DeriveFoldable
                     , DeriveTraversable
                     , TypeFamilies

executable brainheck
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , brainheck
                     , optparse-applicative
                     , text
  default-language:    Haskell2010

benchmark brainheck-bench
  type:             exitcode-stdio-1.0
  hs-source-dirs:   bench
  main-is:          Bench.hs
  build-depends:    base
                  , criterion
                  , brainheck
                  , text
  if flag(llvm-fast)
    ghc-options:       -threaded -rtsopts -with-rtsopts=-N -fllvm -optlo-O3 -O3
  else
    ghc-options:       -threaded -rtsopts -with-rtsopts=-N -O3
  default-language: Haskell2010

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