2024-10-05 13:31:09 -07:00
|
|
|
cabal-version: 3.0
|
2024-11-17 18:33:14 -08:00
|
|
|
name: perga
|
2024-10-05 13:31:09 -07:00
|
|
|
|
|
|
|
|
-- PVP summary: +-+------- breaking API changes
|
|
|
|
|
-- | | +----- non-breaking API additions
|
|
|
|
|
-- | | | +--- code changes with no API change
|
|
|
|
|
version: 0.1.0.0
|
|
|
|
|
|
|
|
|
|
-- A short (one-line) description of the package.
|
|
|
|
|
-- synopsis:
|
|
|
|
|
|
|
|
|
|
-- A longer description of the package.
|
|
|
|
|
-- description:
|
|
|
|
|
|
|
|
|
|
license: GPL-3.0-or-later
|
|
|
|
|
license-file: LICENSE
|
|
|
|
|
|
|
|
|
|
author: William Ball
|
|
|
|
|
maintainer: williampi103@gmail.com
|
|
|
|
|
|
|
|
|
|
category: Math
|
|
|
|
|
build-type: Simple
|
|
|
|
|
|
|
|
|
|
extra-doc-files: CHANGELOG.md
|
2024-11-12 11:32:05 -08:00
|
|
|
, README.md
|
2024-10-05 13:31:09 -07:00
|
|
|
|
2024-11-17 01:57:53 -08:00
|
|
|
common warnings
|
|
|
|
|
ghc-options: -Wall
|
2024-10-05 13:31:09 -07:00
|
|
|
|
2024-11-17 18:33:14 -08:00
|
|
|
library perga-lib
|
2024-11-17 01:57:53 -08:00
|
|
|
import: warnings
|
2024-11-14 22:02:04 -08:00
|
|
|
exposed-modules: Check
|
|
|
|
|
Parser
|
|
|
|
|
Expr
|
2024-11-17 01:57:53 -08:00
|
|
|
Eval
|
2024-11-17 18:33:14 -08:00
|
|
|
Errors
|
2024-11-22 10:36:51 -08:00
|
|
|
Preprocessor
|
2024-10-05 13:31:09 -07:00
|
|
|
|
2024-11-14 22:02:04 -08:00
|
|
|
hs-source-dirs: lib
|
|
|
|
|
build-depends: base ^>=4.19.1.0
|
|
|
|
|
, megaparsec
|
|
|
|
|
, text
|
|
|
|
|
, parser-combinators
|
2024-11-22 10:36:51 -08:00
|
|
|
, filepath
|
2024-11-14 22:02:04 -08:00
|
|
|
, mtl
|
2024-11-17 01:57:53 -08:00
|
|
|
, containers
|
2024-11-14 22:02:04 -08:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
, GADTs
|
2024-11-12 11:32:05 -08:00
|
|
|
|
2024-11-17 18:33:14 -08:00
|
|
|
executable perga
|
2024-11-14 22:02:04 -08:00
|
|
|
import: warnings
|
|
|
|
|
main-is: Main.hs
|
2024-11-15 18:39:44 -08:00
|
|
|
other-modules: Repl
|
2024-11-12 11:32:05 -08:00
|
|
|
|
2024-11-14 22:02:04 -08:00
|
|
|
build-depends: base ^>=4.19.1.0
|
2024-11-17 18:33:14 -08:00
|
|
|
, perga-lib
|
2024-11-14 22:02:04 -08:00
|
|
|
, text
|
2024-11-17 01:57:53 -08:00
|
|
|
, containers
|
2024-11-15 18:39:44 -08:00
|
|
|
, haskeline
|
|
|
|
|
, directory
|
|
|
|
|
, filepath
|
2024-11-17 18:33:14 -08:00
|
|
|
, mtl
|
2024-11-14 22:02:04 -08:00
|
|
|
hs-source-dirs: app
|
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
, GADTs
|
2024-10-05 13:31:09 -07:00
|
|
|
|
2024-11-12 11:32:05 -08:00
|
|
|
test-suite tests
|
2024-11-17 01:57:53 -08:00
|
|
|
import: warnings
|
2024-11-14 22:02:04 -08:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
main-is: Tests.hs
|
|
|
|
|
other-modules: ExprTests
|
|
|
|
|
, CheckTests
|
|
|
|
|
build-depends: base ^>=4.19.1.0
|
|
|
|
|
, HUnit
|
|
|
|
|
, text
|
2024-11-17 01:57:53 -08:00
|
|
|
, containers
|
2024-11-17 18:33:14 -08:00
|
|
|
, perga-lib
|
2024-11-14 22:02:04 -08:00
|
|
|
hs-source-dirs: tests
|
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
, GADTs
|