/
language-plutus-core.cabal
138 lines (127 loc) · 4.16 KB
/
language-plutus-core.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
cabal-version: 2.0
name: language-plutus-core
version: 0.1.0.0
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018 Input Output
maintainer: vanessa.mchale@iohk.io
author: Vanessa McHale
tested-with: ghc ==8.2.2 ghc ==8.4.3 ghc ==8.6.1
synopsis: Language library for Plutus Core
description:
Pretty-printer, parser, and typechecker for Plutus Core.
category: Language
build-type: Simple
extra-source-files:
cabal.project
extra-doc-files: README.md
source-repository head
type: git
location: https://github.com/input-output-hk/plutus-prototype
flag development
description:
Enable `-Werror`
default: False
manual: True
library
exposed-modules:
Language.PlutusCore
Language.PlutusCore.Constant
PlutusPrelude
build-tools: alex -any, happy >=1.17.1
hs-source-dirs: src prelude recursion
other-modules:
Language.PlutusCore.Type
Language.PlutusCore.Name
Language.PlutusCore.Lexer
Language.PlutusCore.Lexer.Type
Language.PlutusCore.Parser
Language.PlutusCore.Constant.Prelude
Language.PlutusCore.Constant.Make
Language.PlutusCore.Constant.View
Language.PlutusCore.Constant.Typed
Language.PlutusCore.Constant.Apply
Language.PlutusCore.CkMachine
Language.PlutusCore.Renamer
Language.PlutusCore.Error
Language.PlutusCore.TypeSynthesis
Language.PlutusCore.Normalize
Data.Functor.Foldable.Monadic
default-language: Haskell2010
other-extensions: DeriveGeneric DeriveAnyClass StandaloneDeriving
GeneralizedNewtypeDeriving TypeFamilies DeriveFunctor
DeriveFoldable DeriveTraversable FlexibleContexts OverloadedStrings
DerivingStrategies MonadComprehensions FlexibleInstances
ConstrainedClassMethods TupleSections GADTs RankNTypes
ghc-options: -Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
build-depends:
base >=4.9 && <5,
bytestring -any,
containers >=0.5.11,
array -any,
mtl -any,
transformers -any,
deepseq -any,
recursion-schemes >=5.0.1,
text -any,
prettyprinter -any,
microlens -any,
value-supply -any,
composition-prelude -any
if (flag(development) && impl(ghc <8.4))
ghc-options: -Werror
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
test-suite language-plutus-core-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Generators
Evaluation.Constant.GenTypedBuiltinSized
Evaluation.Constant.Apply
Evaluation.Constant.Success
Evaluation.Constant.SuccessFailure
Evaluation.Constant.All
Evaluation.Generator
default-language: Haskell2010
other-extensions: OverloadedStrings
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
build-depends:
base -any,
language-plutus-core -any,
tasty -any,
hedgehog -any,
tasty-hunit -any,
tasty-hedgehog -any,
bytestring -any,
tasty-golden -any,
text -any,
prettyprinter -any,
containers -any,
mtl -any,
mmorph -any
if (flag(development) && impl(ghc <8.4))
ghc-options: -Werror
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
benchmark language-plutus-core-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
default-language: Haskell2010
ghc-options: -Wall -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints -Widentities
build-depends:
base -any,
language-plutus-core -any,
criterion -any,
bytestring -any
if flag(development)
ghc-options: -Werror
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists