packages feed

glambda-1.0: glambda.cabal

name:           glambda
version:        1.0
cabal-version:  >= 1.10
synopsis:       A simply typed lambda calculus interpreter, written with GADTs
homepage:       https://github.com/goldfirere/glambda
category:       Compilers/Interpreters
author:         Richard Eisenberg <eir@cis.upenn.edu>
maintainer:     Richard Eisenberg <eir@cis.upenn.edu>
bug-reports:    https://github.com/goldfirere/glambda/issues
stability:      unknown
extra-source-files: README.md, CHANGES.md
license:        BSD3
license-file:   LICENSE
build-type:     Simple
description:
    This is an interpreter for the simply-typed lambda calculus. It is
    written making heavy use of generalized algebraic datatypes (GADTs), and is
    meant to serve as an example how how these GADTs can be useful. See
    the GitHub repo for more information about the syntax for the language
    and interpreter commands.

source-repository this
  type:     git
  location: https://github.com/goldfirere/glambda.git
  tag:      v1.0

library
  build-depends:      base == 4.*
                    , ansi-wl-pprint >= 0.6.7.1
                    , errors >= 1.4.6 && < 2.0
                    , mtl >= 2.1.3.1
                    , containers >= 0.5
                    , parsec >= 3.1
                    , haskeline >= 0.7.1.1
                    , directory >= 1.2.0.1


  exposed-modules:    Language.Glambda.Repl
                      Language.Glambda.Check
                      Language.Glambda.Eval
                      Language.Glambda.Exp
                      Language.Glambda.Globals
                      Language.Glambda.Lex
                      Language.Glambda.Monad
                      Language.Glambda.Parse
                      Language.Glambda.Pretty
                      Language.Glambda.Shift
                      Language.Glambda.Statement
                      Language.Glambda.Token
                      Language.Glambda.Type
                      Language.Glambda.Unchecked
                      Language.Glambda.Util

  hs-source-dirs:     src
  ghc-options:        -Wall -fno-warn-name-shadowing
  default-language:   Haskell2010

executable glam
  build-depends:      base == 4.*
                    , glambda

  hs-source-dirs:     main
  ghc-options:        -Wall -fno-warn-name-shadowing
  default-language:   Haskell2010
  main-is:            Main.hs

test-suite tests
  type:               exitcode-stdio-1.0
  hs-source-dirs:     tests
  ghc-options:        -Wall -fno-warn-name-shadowing -main-is Tests.Main
  default-language:   Haskell2010
  main-is:            Tests/Main.hs

  other-modules:      Tests.Check
                      Tests.Parse
                      Tests.Lex
                      Tests.Util

  build-depends:      base == 4.*
                    , glambda
                    , template-haskell
                    , ansi-wl-pprint >= 0.6.7.1
                    , errors >= 1.4.6 && < 2.0
                    , mtl >= 2.1.3.1
                    , parsec >= 3.1
                    , tasty >= 0.8.1
                    , tasty-hunit >= 0.9