calculator-0.3.0.2: calculator.cabal
name: calculator
version: 0.3.0.2
synopsis: A calculator repl, with variables, functions & Mathematica like dynamic plots.
description: A calculator repl that processes mathematical expressions.
Does basic arithmetic, and provides pre-defined basic mathematical functions.
.
Provides binding functionality for variables and functions.
.
Optionally provides plotting support (configure using cabal).
homepage: https://github.com/sumitsahrawat/calculator
license: GPL-2
license-file: LICENSE
author: Sumit Sahrawat
maintainer: sumit.sahrawat.apm13@itbhu.ac.in
-- copyright:
category: Math
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
flag plot-gtk-ui
default: False
description: Use plot-gtk-ui to provide plotting commands
executable calculator
main-is: Main.hs
other-modules: Calculator.Evaluator.Base
, Calculator.Evaluator.Cmd
, Calculator.Evaluator.Expr
, Calculator.Evaluator.Func
, Calculator.Evaluator.Statement
, Calculator.Help
, Calculator.Parser.Base
, Calculator.Parser.Cmd
, Calculator.Parser.Expr
, Calculator.Parser.Statement
, Calculator.Prim.Bindings
, Calculator.Prim.Cmd
, Calculator.Prim.Definitions
, Calculator.Prim.Expr
, Calculator.Prim.Function
, Calculator.Prim.Statement
, Calculator.Prim.Result
, Calculator.Color
-- other-extensions:
build-depends: base >=4.7 && <4.8
, containers >= 0.5.5.1 && <0.5.6.0
, haskeline >=0.7.1.0 && <0.7.2.0
, parsec >=3.1.7 && <3.2
hs-source-dirs: src/
ghc-options: -Wall
default-language: Haskell2010
if flag(plot-gtk-ui)
cpp-options: -DPLOT
build-depends: plot-gtk-ui >=0.0.2.0
, gtk >=0.13.0 && <0.14.0
, transformers >= 0.4.2.0
test-suite model-test-arithmetic
type: exitcode-stdio-1.0
main-is: Arithmetic.hs
other-modules: Calculator.Evaluator.Base
, Calculator.Evaluator.Cmd
, Calculator.Evaluator.Expr
, Calculator.Evaluator.Func
, Calculator.Evaluator.Statement
, Calculator.Help
, Calculator.Parser.Base
, Calculator.Parser.Cmd
, Calculator.Parser.Expr
, Calculator.Parser.Statement
, Calculator.Prim.Bindings
, Calculator.Prim.Cmd
, Calculator.Prim.Definitions
, Calculator.Prim.Expr
, Calculator.Prim.Function
, Calculator.Prim.Statement
, Calculator.Prim.Result
, Calculator.Color
, Model.Arithmetic
hs-source-dirs: tests/ src/
build-depends: QuickCheck >= 2.7.6 && <2.7.7
, base >=4.7 && <4.8
, containers >= 0.5.5.1 && <0.5.6.0
, parsec >=3.1.7 && <3.2
ghc-options: -Wall
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/sumitsahrawat/calculator.git