forked from duo-lang/duo-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
duo-lang.cabal
253 lines (240 loc) · 6.04 KB
/
duo-lang.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
cabal-version: 2.2
name: duo-lang
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/duo-lang/duo-lang#readme>
homepage: https://github.com/duo-lang/duo-lang#readme
bug-reports: https://github.com/duo-lang/duo-lang/issues
author: Justus Springer, David Binder, Ingo Skupin
maintainer: [email protected]
copyright: 2020 Justus Springer, David Binder, Ingo Skupin
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
LICENSE
source-repository head
type: git
location: https://github.com/duo-lang/duo-lang
common shared-build-depends
build-depends:
ansi-terminal
, base >=4.7 && <5
, containers
, data-default
, diagnose
, directory
, filepath
, fgl >=5.7 && <6
, graphviz >=2999.20 && < 3000
, megaparsec
, mtl
, prettyprinter >= 1.7 && < 1.8
, text >= 1.2 && < 1.3
, unliftio-core
, sorted-list
, hslogger
, unordered-containers
, aeson
common app-build-depends
build-depends:
optparse-applicative
, lsp
, githash
common test-build-depends
build-depends:
QuickCheck
, hspec
common shared-lang-options
default-language: Haskell2010
default-extensions:
RecordWildCards,
NamedFieldPuns,
FlexibleContexts,
FlexibleInstances,
ScopedTypeVariables,
ConstraintKinds,
RankNTypes,
DataKinds,
GADTs,
KindSignatures,
StandaloneDeriving,
TypeFamilies,
TypeOperators,
ViewPatterns,
GeneralizedNewtypeDeriving,
LambdaCase,
DeriveFunctor,
DeriveGeneric,
DeriveAnyClass,
DerivingStrategies,
OverloadedStrings,
ImportQualifiedPost,
ViewPatterns,
MultiWayIf,
PatternSynonyms,
InstanceSigs,
MultiParamTypeClasses,
FunctionalDependencies
common shared-ghc-opts
ghc-options:
-Wall
-Wincomplete-uni-patterns
-fwarn-tabs
-fno-warn-name-shadowing
-fno-warn-orphans
-fno-warn-unticked-promoted-constructors
common shared-rts-opts
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
library
import: shared-build-depends
import: app-build-depends
import: test-build-depends
import: shared-lang-options
import: shared-ghc-opts
exposed-modules:
Driver.Definition
Driver.DepGraph
Driver.Driver
Driver.Environment
Errors
Eval.Definition
Eval.Eval
Eval.Primitives
Lookup
Loc
Parser.Common
Parser.Definition
Parser.Kinds
Parser.Lexer
Parser.Parser
Parser.Program
Parser.Terms
Parser.Types
Pretty.Pretty
Pretty.Common
Pretty.Constraints
Pretty.Terms
Pretty.Types
Pretty.Program
Pretty.Errors
Pretty.TypeAutomata
Resolution.Definition
Resolution.Pattern
Resolution.Program
Resolution.SymbolTable
Resolution.Terms
Resolution.Types
Resolution.Unresolve
Dualize.Dualize
Dualize.DualizeClone
Sugar.Desugar
Sugar.Core
Sugar.TST
Syntax.LocallyNameless
Syntax.NMap
Syntax.TST.Program
Syntax.TST.Terms
Syntax.TST.Types
Syntax.Core.Annot
Syntax.Core.Terms
Syntax.Core.Program
Syntax.CST.Kinds
Syntax.CST.Names
Syntax.CST.Program
Syntax.CST.Terms
Syntax.CST.Types
Syntax.RST.Program
Syntax.RST.Terms
Syntax.RST.Types
TypeAutomata.BicliqueDecomp
TypeAutomata.Definition
TypeAutomata.Determinize
TypeAutomata.FromAutomaton
TypeAutomata.Lint
TypeAutomata.Minimize
TypeAutomata.RemoveEpsilon
TypeAutomata.RemoveAdmissible
TypeAutomata.Simplify
TypeAutomata.Subsume
TypeAutomata.ToAutomaton
TypeInference.Coalescing
TypeInference.GenerateConstraints.Definition
TypeInference.GenerateConstraints.Primitives
TypeInference.GenerateConstraints.Terms
TypeInference.GenerateConstraints.Kinds
TypeInference.SolveConstraints
TypeInference.Constraints
Translate.Focusing
Translate.EmbedTST
Translate.InsertInstance
Utils
other-modules:
Paths_duo_lang
hs-source-dirs:
src
executable duo
import: shared-build-depends
import: app-build-depends
import: test-build-depends
import: shared-lang-options
import: shared-ghc-opts
import: shared-rts-opts
main-is: Main.hs
other-modules:
Run
Typecheck
Deps
LSP.Definition
LSP.Handler.CodeAction
LSP.Handler.Completion
LSP.Handler.Hover
LSP.Handler.JumpToDef
LSP.Handler.Various
LSP.LSP
LSP.MegaparsecToLSP
Options
Paths_duo_lang
hs-source-dirs:
app
build-depends:
duo-lang,
optparse-applicative,
lsp,
githash
test-suite duo-lang-test
import: shared-build-depends
import: app-build-depends
import: test-build-depends
import: shared-lang-options
import: shared-ghc-opts
import: shared-rts-opts
type: exitcode-stdio-1.0
main-is: TestRunner.hs
other-modules:
Spec.Focusing
, Spec.TypeInferenceExamples
, Spec.LocallyClosed
, Spec.OverlapCheck
, Spec.Prettyprinter
, Paths_duo_lang
hs-source-dirs:
test
build-depends:
duo-lang
Benchmark duo-lang-bench
import: shared-build-depends
import: app-build-depends
import: shared-lang-options
import: shared-ghc-opts
import: shared-rts-opts
type: exitcode-stdio-1.0
main-is: BenchRunner.hs
hs-source-dirs:
bench
build-depends:
duo-lang,
criterion