design-patterns-for-parser-.../design-patterns-for-parser-combinators.cabal

63 lines
1.7 KiB
Plaintext
Raw Normal View History

cabal-version: 3.4
name: calculator-lib
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
license: BSD-3-Clause
license-file: LICENSE
author: Jamie Willis and Nicolas Wu
maintainer: j.willis19@imperial.ac.uk
extra-source-files: CHANGELOG.md
library
exposed-modules: Miniparsec,
Miniparsec.Impl,
2021-08-20 18:38:47 +03:00
WeakAST,
StrongAST,
Pretty,
Convert,
Interpreter,
Parser
2021-08-24 17:20:46 +03:00
build-depends: base >=4.13,
selective,
containers
hs-source-dirs: src
default-language: Haskell2010
executable calculator
main-is: Main.hs
hs-source-dirs: main
2021-08-24 17:20:46 +03:00
build-depends: base >=4.13,
calculator-lib
test-suite parser-test
type: exitcode-stdio-1.0
2021-08-24 17:20:46 +03:00
build-depends: base >=4.13,
calculator-lib,
tasty,
tasty-hunit,
tasty-quickcheck
main-is: Main.hs
2021-08-20 18:38:47 +03:00
hs-source-dirs: test/parser
2021-08-20 19:19:58 +03:00
test/common
other-modules: Arbitrary
2021-08-20 18:38:47 +03:00
default-language: Haskell2010
test-suite convert-test
type: exitcode-stdio-1.0
2021-08-24 17:20:46 +03:00
build-depends: base >=4.13,
2021-08-20 18:38:47 +03:00
calculator-lib,
tasty,
tasty-quickcheck
main-is: Main.hs
hs-source-dirs: test/convert
2021-08-20 19:19:58 +03:00
test/common
other-modules: Arbitrary
default-language: Haskell2010