-- Initial chr-lang.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                chr-lang
version:             0.1.0.0
synopsis:            AST + surface language around chr
description:         AST + surface language around chr, with executable for parsing and running the evaluator.
homepage:            https://github.com/atzedijkstra/chr
Bug-Reports:         https://github.com/atzedijkstra/chr/issues
license:             BSD3
license-file:        LICENSE
author:              Atze Dijkstra
maintainer:          atzedijkstra@gmail.com
-- copyright:           
category:            Development
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10

source-repository head
  type:     git
  location: git@github.com:atzedijkstra/chr.git

library
  exposed-modules:
    CHR.Language.GTerm,
    CHR.Language.GTerm.AST,
    CHR.Language.GTerm.Parser,
    CHR.Language.Examples.Term.AST,
    CHR.Language.Examples.Term.Run,
    CHR.Language.Examples.Term.Visualizer
  -- other-modules:       
  -- other-extensions:
  default-extensions:
    MultiParamTypeClasses,
    FunctionalDependencies,
    FlexibleContexts,
    DeriveGeneric    
  build-depends:
    base >=4.9 && < 5,
    containers >= 0.4,
    hashable >= 1.2.4,
    unordered-containers >= 0.2.7,
    fgl >= 5.4,
    mtl >= 2,
    time >= 1.2,
    chr-parse >= 0.1.0.0,
    chr-pretty >= 0.1.0.0,
    chr-data >= 0.1.0.0,
    chr-core >= 0.1.0.0
  hs-source-dirs:      src
  default-language:    Haskell2010

executable chr-term
  main-is:             Main.hs
  -- other-modules:       
  -- other-extensions:    

  build-depends:
    base >=4.9 && < 5,
    chr-data >= 0.1.0.0,
    chr-lang

  hs-source-dirs:      src-main
  default-language:    Haskell2010