darcsden :: alex -> the -> blob

the programming language

root / the.cabal

name:                the
version:             0.1
synopsis:            The programming language.
homepage:            http://darcsden.com/alex/the
license:             BSD3
license-file:        LICENSE
author:              Alex Suraci
maintainer:          i.am@toogeneric.com
category:            Development
build-type:          Simple

cabal-version:       >= 1.2

data-files:          prelude/*.the
                     prelude/*.hs


library
  hs-source-dirs:     src

  build-depends:
    base >= 4,
    containers,
    haskeline,
    haskell-src-exts,
    hint,
    mtl,
    parsec >= 3.0.0,
    pretty,
    pretty-show

  exposed-modules:
    The.Compiler,
    The.Debug,
    The.Haskell,
    The.Types,
    The.Pretty,
    The.Environment,
    The.Parser,
    The.Parser.Base,
    The.Parser.Primitives,
    Paths_the
    
executable the
  hs-source-dirs:     src
  main-is:            The.hs
  
  if impl(ghc >= 6.12)
    GHC-Options:   -O2 -optc-O3 -funfolding-use-threshold=16 -auto-all -caf-all -Wall -threaded -fno-warn-unused-do-bind
  else
    GHC-Options:   -O2 -optc-O3 -funfolding-use-threshold=16 -auto-all -caf-all -Wall -threaded

  -- Packages needed in order to build this package.
  build-depends:
    base >= 4,
    bytestring,
    containers,
    directory,
    filepath,
    hashmap,
    haskeline,
    haskell-src-exts,
    hint,
    mtl,
    parsec >= 3.0.0,
    pretty,
    pretty-show,
    time,
    vector
    
executable a
  hs-source-dirs:     src
  main-is:            A.hs
  
  if impl(ghc >= 6.12)
    GHC-Options:   -Wall -fno-warn-unused-do-bind
  else
    GHC-Options:   -Wall

  -- Packages needed in order to build this package.
  build-depends:
    base >= 4,
    bytestring,
    containers,
    directory,
    filepath,
    hashable,
    haskeline,
    haskell-src-exts,
    hint,
    mtl,
    parsec >= 3.0.0,
    pretty,
    pretty-show,
    tagsoup,
    time,
    vector