-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCompiler.cabal
188 lines (183 loc) · 7.55 KB
/
Compiler.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
cabal-version: 2.4
name: Compiler
version: 0.1.0.0
synopsis: TODO: add synopsis
description: TODO: add description
homepage: https://github.com/jiriklepl/masters-thesis-code
bug-reports: https://github.com/jiriklepl/masters-thesis-code/issues
license: MIT
author: Jiří Klepl
maintainer: jiriklepl@seznam.cz
category: Development
extra-source-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/jiriklepl/masters-thesis-code
common common-options
default-extensions: ConstraintKinds
DeriveDataTypeable
DeriveTraversable
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTSyntax
KindSignatures
LambdaCase
NamedFieldPuns
ImplicitPrelude
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeFamilies
TypeOperators
default-language: Haskell2010
ghc-options: -Wall
-Wcompat
-Wextra
-Wcpp-undef
-Widentities
-Wno-implicit-prelude
-Wmissing-import-lists
-Wredundant-constraints
-Wsafe
-Wunused-packages
cpp-options: -DUSE_GHC_STACK
-DFACT_COMMENTS
build-depends: bimap ^>= 0.4.0,
base >= 4.13 && < 4.17,
containers ^>=0.6.4.1,
extra ^>=1.7.10,
lens >=5.0.1 && <5.2,
megaparsec ^>=9.0.1,
prettyprinter ^>=1.7.1,
text ^>=1.2.4.0
executable Compiler
import: common-options
main-is: Main.hs
other-modules: CMM.AST,
CMM.AST.Annot,
CMM.AST.Blockifier,
CMM.AST.Blockifier.Error,
CMM.AST.Blockifier.FilterDropped,
CMM.AST.Blockifier.State,
CMM.AST.BlockAnnot,
CMM.AST.Flattener,
CMM.AST.Flattener.State,
CMM.AST.GetConv,
CMM.AST.GetName,
CMM.AST.Maps,
CMM.AST.Utils,
CMM.AST.Variables,
CMM.AST.Variables.Error,
CMM.AST.Variables.State,
CMM.AST.Variables.State.Impl,
CMM.AST.Variables.SymbolType,
CMM.AST.Wrap,
CMM.Control.Applicative,
CMM.Control.Monad,
CMM.Data.Bimap,
CMM.Data.Bounds,
CMM.Data.Bounds.Impl,
CMM.Data.Either,
CMM.Data.Function,
CMM.Data.Generics,
CMM.Data.Lattice,
CMM.Data.List,
CMM.Data.Nullable,
CMM.Data.Ordered,
CMM.Data.OrderedBounds,
CMM.Data.Trilean,
CMM.Data.Tuple,
CMM.Data.Way,
CMM.Err.Error,
CMM.Err.IsError,
CMM.Err.Severity,
CMM.Err.State,
CMM.FillElabs,
CMM.FlowAnalysis,
CMM.Inference,
CMM.Inference.Arity,
CMM.Inference.BuiltIn,
CMM.Inference.Constness,
CMM.Inference.DataKind,
CMM.Inference.Fact,
CMM.Inference.FreeTypeVars,
CMM.Inference.FunDeps,
CMM.Inference.GetParent,
CMM.Inference.HandleCounter,
CMM.Inference.Preprocess,
CMM.Inference.Preprocess.ClassData,
CMM.Inference.Preprocess.Context,
CMM.Inference.Preprocess.Error,
CMM.Inference.Preprocess.HasProperties,
CMM.Inference.Preprocess.WithElaboration,
CMM.Inference.Preprocess.Elaboration,
CMM.Inference.Preprocess.State,
CMM.Inference.Preprocess.State.Impl,
CMM.Inference.Refresh,
CMM.Inference.State,
CMM.Inference.State.Impl,
CMM.Inference.Subst,
CMM.Inference.Type,
CMM.Inference.TypeCompl,
CMM.Inference.Properties,
CMM.Inference.TypeKind,
CMM.Inference.TypeVar,
CMM.Inference.Unify,
CMM.Inference.Unify.Error,
CMM.Inference.Utils,
CMM.Lexer,
CMM.Lexer.Token,
CMM.Mangle,
CMM.Monomorphize,
CMM.Monomorphize.Error,
CMM.Monomorphize.Polytypeness,
CMM.Monomorphize.Schematized,
CMM.Monomorphize.State,
CMM.Monomorphize.State.Impl,
CMM.Options,
CMM.Parser,
CMM.Parser.ASTError,
CMM.Parser.GetPos,
CMM.Pipeline,
CMM.Pretty,
CMM.Translator,
CMM.Translator.State,
CMM.TypeMiner,
CMM.Utils
build-depends: llvm-hs-pretty ^>=12.0.0,
llvm-hs-pure ^>=12.0.0,
mtl ^>=2.2.2,
partial-order ^>=0.2.0.0,
syb ^>=0.7.2.1,
optparse-applicative ^>=0.17.0.0
hs-source-dirs: src
Test-Suite parser-testsuite
import: common-options
type: exitcode-stdio-1.0
main-is: ParserTest.hs
other-modules: CMM.AST,
CMM.AST.Annot,
CMM.AST.GetName,
CMM.AST.Utils,
CMM.Control.Applicative,
CMM.Data.Bimap,
CMM.Lexer,
CMM.Parser,
CMM.Parser.GetPos,
CMM.Pretty,
CMM.Utils,
CMM.Data.Nullable,
CMM.Inference.Arity,
CMM.Inference.Preprocess.Elaboration,
CMM.Inference.Type,
CMM.Inference.TypeCompl,
CMM.Inference.Properties,
CMM.Inference.TypeKind,
CMM.Inference.TypeVar,
CMM.Lexer.Token
QuasiQuotes
build-depends: template-haskell >=2.15.0.0 && <2.19.0.0,
HUnit,
hs-source-dirs: src, test