packages feed

mathista-0.0.1: mathista.cabal

name:                mathista
version:             0.0.1
synopsis:            A programming language for numerical computing
description:         Mathista is a simple programming language for
                     numerical computing especially matrix manipulations.
homepage:            https://github.com/nuta/mathista
license:             PublicDomain
license-file:        LICENSE
author:              Seiya Nuta
maintainer:          nuta@seiya.me
category:            Language
build-type:          Simple
cabal-version:       >=1.10

source-repository head
  type: git
  location: git://github.com/nuta/mathista.git

executable mathista
  build-depends:       base >= 4.7 && < 5,
                       split,
                       regex-compat,
                       MissingH,
                       parsec,
                       filepath
  hs-source-dirs:      src
  main-is:             Main.hs
  ghc-options:         -Wall
  default-language:    Haskell2010

library
  build-depends:       base,
                       split,
                       regex-compat,
                       MissingH,
                       parsec
  exposed-modules:     Mathista.Parser,
                       Mathista.Compiler,
                       Mathista.AST,
                       Mathista.IL,
                       Mathista.Generator.C,
                       Mathista.Generator.Matlab
  hs-source-dirs:      src
  ghc-options:         -Wall
  default-language:    Haskell2010

test-suite spec
  type:             exitcode-stdio-1.0
  hs-source-dirs:   tests
  main-is:          Spec.hs
  build-depends:    base,
                    mathista,
                    parsec,
                    hspec
  ghc-options:      -Wall
  default-language: Haskell2010