-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
eclair-lang.cabal
349 lines (324 loc) · 10.3 KB
/
eclair-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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
cabal-version: 2.2
name: eclair-lang
version: 0.2.0
synopsis:
Eclair: an experimental and minimal Datalog that compiles to LLVM.
description:
Eclair: an experimental and minimal Datalog that compiles to LLVM.
category: Compiler
homepage: https://github.com/luc-tielen/eclair-lang
author: Luc Tielen
maintainer: luc.tielen@gmail.com
copyright: Luc Tielen, 2023
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
cbits/semantic_analysis.dl
CHANGELOG.md
LICENSE
README.md
flag debug
description: Enables stack traces.
manual: True
default: False
library
-- cabal-fmt: expand lib
exposed-modules:
Eclair
Eclair.ArgParser
Eclair.AST.Analysis
Eclair.AST.Codegen
Eclair.AST.IR
Eclair.AST.Lower
Eclair.AST.Transforms
Eclair.AST.Transforms.ConstantFolding
Eclair.AST.Transforms.DeadCodeElimination
Eclair.AST.Transforms.NormalizeRules
Eclair.AST.Transforms.RemoveAliases
Eclair.AST.Transforms.ReplaceStrings
Eclair.Common.Config
Eclair.Common.Extern
Eclair.Common.Id
Eclair.Common.Literal
Eclair.Common.Location
Eclair.Common.Operator
Eclair.Common.Pretty
Eclair.Comonads
Eclair.EIR.IR
Eclair.EIR.Lower
Eclair.EIR.Lower.API
Eclair.EIR.Lower.Codegen
Eclair.EIR.Lower.Externals
Eclair.Error
Eclair.JSON
Eclair.LLVM.Allocator.Arena
Eclair.LLVM.Allocator.Common
Eclair.LLVM.Allocator.Malloc
Eclair.LLVM.Allocator.Page
Eclair.LLVM.BTree
Eclair.LLVM.BTree.Bounds
Eclair.LLVM.BTree.Compare
Eclair.LLVM.BTree.Create
Eclair.LLVM.BTree.Destroy
Eclair.LLVM.BTree.Find
Eclair.LLVM.BTree.Insert
Eclair.LLVM.BTree.Iterator
Eclair.LLVM.BTree.Size
Eclair.LLVM.BTree.Types
Eclair.LLVM.Codegen
Eclair.LLVM.Config
Eclair.LLVM.Externals
Eclair.LLVM.Hash
Eclair.LLVM.HashMap
Eclair.LLVM.Metadata
Eclair.LLVM.Symbol
Eclair.LLVM.SymbolTable
Eclair.LLVM.Table
Eclair.LLVM.Template
Eclair.LLVM.Vector
Eclair.LSP
Eclair.LSP.Handlers
Eclair.LSP.Handlers.Diagnostics
Eclair.LSP.Handlers.DocumentHighlight
Eclair.LSP.Handlers.Hover
Eclair.LSP.JSON
Eclair.LSP.Monad
Eclair.LSP.Types
Eclair.LSP.VFS
Eclair.Parser
Eclair.RA.Codegen
Eclair.RA.IndexSelection
Eclair.RA.IR
Eclair.RA.Lower
Eclair.RA.Transforms
Eclair.RA.Transforms.HoistConstraints
Eclair.Souffle.IR
Eclair.Transform
Eclair.TypeSystem
Prelude
hs-source-dirs: lib
default-extensions:
DataKinds
DeriveAnyClass
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
FlexibleContexts
FlexibleInstances
KindSignatures
LambdaCase
OverloadedStrings
PatternSynonyms
RankNTypes
RecursiveDo
ScopedTypeVariables
TupleSections
TypeFamilies
ViewPatterns
ghc-options:
-Wall -Wincomplete-patterns -fhide-source-paths
-fno-show-valid-hole-fits -fno-sort-valid-hole-fits
cxx-options: -std=c++17 -D__EMBEDDED_SOUFFLE__ -Wall
build-depends:
, algebraic-graphs <1
, base >=4.7 && <5
, bytestring >=0.11 && <0.12
, comonad >=5 && <6
, containers <1
, dependent-sum >=0.6 && <1
, diagnose >=2.3 && <2.4
, directory >=1 && <2
, dlist >=1 && <2
, exceptions >=0.10 && <0.11
, extra >=1 && <2
, ghc-prim <1
, hermes-json <1
, llvm-codegen
, megaparsec >=9 && <10
, mmorph >=1 && <2
, mtl >=2 && <3
, optparse-applicative >=0.16 && <0.17
, parser-combinators >=1.3 && <1.4
, prettyprinter >=1.7 && <1.8
, prettyprinter-ansi-terminal >=1 && <2
, recursion-schemes >=5 && <6
, relude >=1.2 && <1.3
, rock >=0.3 && <0.4
, souffle-haskell ==4.0.0
, text >=2 && <3
, text-builder-linear <1
, transformers <1
, vector >=0.12 && <0.13
mixins: base hiding (Prelude)
default-language: Haskell2010
if os(osx)
extra-libraries: c++
if flag(debug)
ghc-options: -fplugin=StackTrace.Plugin
build-depends: haskell-stack-trace-plugin ==0.1.3.0
if os(linux)
extra-libraries: stdc++
executable eclair
main-is: Main.hs
other-modules: Paths_eclair_lang
autogen-modules: Paths_eclair_lang
hs-source-dirs: src/eclair
default-extensions:
DataKinds
DeriveAnyClass
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
FlexibleContexts
FlexibleInstances
KindSignatures
LambdaCase
OverloadedStrings
PatternSynonyms
RankNTypes
RecursiveDo
ScopedTypeVariables
TupleSections
TypeFamilies
ViewPatterns
ghc-options:
-Wall -Wincomplete-patterns -fhide-source-paths
-fno-show-valid-hole-fits -fno-sort-valid-hole-fits -threaded
-rtsopts -with-rtsopts=-N
cxx-options: -std=c++17 -D__EMBEDDED_SOUFFLE__
build-depends:
, algebraic-graphs <1
, base >=4.7 && <5
, bytestring >=0.11 && <0.12
, comonad >=5 && <6
, containers <1
, dependent-sum >=0.6 && <1
, diagnose >=2.3 && <2.4
, directory >=1 && <2
, dlist >=1 && <2
, eclair-lang
, exceptions >=0.10 && <0.11
, extra >=1 && <2
, llvm-codegen
, megaparsec >=9 && <10
, mmorph >=1 && <2
, mtl >=2 && <3
, optparse-applicative >=0.16 && <0.17
, parser-combinators >=1.3 && <1.4
, prettyprinter >=1.7 && <1.8
, prettyprinter-ansi-terminal >=1 && <2
, process >=1.6 && <1.7
, recursion-schemes >=5 && <6
, relude >=1.2 && <1.3
, rock >=0.3 && <0.4
, souffle-haskell ==4.0.0
, text >=2 && <3
, transformers <1
, vector >=0.12 && <0.13
mixins: base hiding (Prelude)
default-language: Haskell2010
if os(osx)
extra-libraries: c++
if flag(debug)
ghc-options: -fplugin=StackTrace.Plugin
build-depends: haskell-stack-trace-plugin ==0.1.3.0
test-suite eclair-test
type: exitcode-stdio-1.0
main-is: test.hs
-- cabal-fmt: expand tests/eclair
other-modules:
Paths_eclair_lang
Test.Eclair.ArgParserSpec
Test.Eclair.JSONSpec
Test.Eclair.LLVM.Allocator.MallocSpec
Test.Eclair.LLVM.Allocator.PageSpec
Test.Eclair.LLVM.Allocator.Utils
Test.Eclair.LLVM.BTreeSpec
Test.Eclair.LLVM.HashMapSpec
Test.Eclair.LLVM.HashSpec
Test.Eclair.LLVM.SymbolSpec
Test.Eclair.LLVM.SymbolTableSpec
Test.Eclair.LLVM.SymbolUtils
Test.Eclair.LLVM.VectorSpec
Test.Eclair.LSP.HandlersSpec
Test.Eclair.LSP.JSONSpec
Test.Eclair.RA.IndexSelectionSpec
autogen-modules: Paths_eclair_lang
hs-source-dirs: tests/eclair
default-extensions:
DataKinds
DeriveAnyClass
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
FlexibleContexts
FlexibleInstances
KindSignatures
LambdaCase
OverloadedStrings
PatternSynonyms
RankNTypes
RecursiveDo
ScopedTypeVariables
TupleSections
TypeFamilies
ViewPatterns
ghc-options:
-Wall -Wincomplete-patterns -fhide-source-paths
-fno-show-valid-hole-fits -fno-sort-valid-hole-fits
cxx-options: -std=c++17 -D__EMBEDDED_SOUFFLE__
build-depends:
, algebraic-graphs <1
, array >=0.5 && <1
, base >=4.7 && <5
, bytestring >=0.11 && <0.12
, comonad >=5 && <6
, containers <1
, dependent-sum >=0.6 && <1
, diagnose >=2.3 && <2.4
, dlist >=1 && <2
, eclair-lang
, exceptions >=0.10 && <0.11
, extra >=1 && <2
, filepath >=1 && <2
, hedgehog >=1 && <2
, hermes-json <1
, hspec >=2.6.1 && <3.0.0
, hspec-hedgehog <1
, libffi >=0.2 && <1
, llvm-codegen
, megaparsec >=9 && <10
, mmorph >=1 && <2
, mtl >=2 && <3
, neat-interpolation <1
, optparse-applicative >=0.16 && <0.17
, parser-combinators >=1.3 && <1.4
, prettyprinter >=1.7 && <1.8
, prettyprinter-ansi-terminal >=1 && <2
, random >=1.2 && <2
, recursion-schemes >=5 && <6
, relude >=1.2 && <1.3
, rock >=0.3 && <0.4
, silently >=1.2 && <1.3
, souffle-haskell ==4.0.0
, text >=2 && <3
, transformers <1
, unix >=2.8 && <3
, vector >=0.12 && <0.13
mixins: base hiding (Prelude)
default-language: Haskell2010
if os(osx)
extra-libraries: c++
if flag(debug)
ghc-options: -fplugin=StackTrace.Plugin
build-depends: haskell-stack-trace-plugin ==0.1.3.0