-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpie.cabal
87 lines (77 loc) · 2.23 KB
/
pie.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
cabal-version: 2.4
name: pie
version: 0.1.0.0
synopsis: Pie interpreter
description: An implementation of the pie language from the little typer
license: BSD-3-Clause
license-file: LICENSE
author: John Children
maintainer: john.a.children@gmail.com
-- copyright:
category: Language
build-type: Simple
extra-source-files: ChangeLog.md
source-repository head
type: git
location: https://github.com/johnchildren/pie
common haskell
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
common dependencies
build-depends:
, base >=4.9 && <5.0
, fused-effects >=0.4 && <0.6
, text ^>=1.2
, transformers ^>=0.5
common warning-flags
ghc-options:
-Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat -Widentities -Wredundant-constraints
-Wmissing-export-lists -Wpartial-fields -Wincomplete-patterns
-Wmonomorphism-restriction -Wmissing-local-signatures
library
import: haskell, dependencies, warning-flags
hs-source-dirs: src
exposed-modules:
Language.Pie.Environment
Language.Pie.Eval
Language.Pie.Expr
Language.Pie.Interpreter
Language.Pie.Judgement
Language.Pie.Parse
Language.Pie.Print
Language.Pie.Symbols
Language.Pie.TypeChecker
Language.Pie.Values
build-depends:
, containers ^>=0.6
, megaparsec >=7.0 && <8.0
, prettyprinter ^>=1.2
, prettyprinter-ansi-terminal ^>=1.1
, recursion-schemes ^>=5.1
executable pie-repl
import: haskell, dependencies, warning-flags
main-is: Main.hs
build-depends:
, haskeline ^>=0.7
, pie
, repline ^>=0.2
test-suite test
import: haskell, dependencies, warning-flags
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Test.hs
build-depends:
, hedgehog >=1.0 && <2.0
, pie
, tasty >=1.2 && <2.0
, tasty-hedgehog >=1.0 && <2.0
, tasty-hunit ^>=0.10
other-modules:
CommandmentsTest
EvalTest
JudgementsTest
LawsTest
ParsePrintTest