-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmadlib.cabal
More file actions
544 lines (535 loc) · 13.1 KB
/
madlib.cabal
File metadata and controls
544 lines (535 loc) · 13.1 KB
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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
cabal-version: 2.0
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
name: madlib
version: 0.26.3
description: Please see the README on GitHub at <https://github.com/madlib-lang/madlib#readme>
homepage: https://github.com/madlib-lang/madlib#readme
bug-reports: https://github.com/madlib-lang/madlib/issues
author: Arnaud Boeglin, Brekk Bockrath
maintainer: fpopensorcerers@gmail.com
copyright: 2021 Arnaud Boeglin, 2021 Brekk Bockrath
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/madlib-lang/madlib
flag static
description: Pass -static to ghc.
manual: True
default: False
library
exposed-modules:
Canonicalize.ADT
Canonicalize.AST
Canonicalize.Canonicalize
Canonicalize.CanonicalM
Canonicalize.Coverage
Canonicalize.Derive
Canonicalize.EnvUtils
Canonicalize.Interface
Canonicalize.JSExp
Canonicalize.Rewrite
Canonicalize.Typing
Driver
Driver.Rules
Explain.Format
Explain.Format.Hints
Explain.Format.TypeDiff
Format.Format
Fuzz.Engine
Fuzz.Generator
Fuzz.Types
Generate.Documentation
Generate.Javascript
Generate.Javascript.Doc
Generate.Javascript.Internals
Generate.Javascript.Javascript
Generate.Javascript.ModuleDoc
Generate.Javascript.SourceMap
Generate.JSInternals
Generate.LLVM.Boxing
Generate.LLVM.Builtins
Generate.LLVM.ClosureConvert
Generate.LLVM.Debug
Generate.LLVM.Emit
Generate.LLVM.Function
Generate.LLVM.Helper
Generate.LLVM.LLVM
Generate.LLVM.Module
Generate.LLVM.Operand
Generate.LLVM.Operators
Generate.LLVM.PatternMatch
Generate.LLVM.Rename
Generate.LLVM.TypeOf
Generate.LLVM.Types
Generate.LLVM.WithMetadata
Generate.Utils
Infer.AST
Infer.EnvUtils
Infer.ExhaustivePatterns
Infer.Exp
Infer.Infer
Infer.Instantiate
Infer.Interface
Infer.Monomorphize
Infer.Pattern
Infer.Placeholder
Infer.Pred
Infer.Scheme
Infer.Scope
Infer.Substitute
Infer.Test
Infer.ToSolved
Infer.Typing
Infer.Unify
MadlibDotJson.MadlibDotJson
MadlibDotJson.MadlibVersion
Optimize.AllocationSinking
Optimize.EscapeAnalysis
Optimize.EtaExpansion
Optimize.EtaReduction
Optimize.FoldCalls
Optimize.HigherOrderCopyPropagation
Optimize.Inline
Optimize.SimplifyCalls
Optimize.SortExpressions
Optimize.TCE
Optimize.ToCore
Parse.Lexer.Lexer
Parse.Lexer.Token
Parse.Lexer.TokenStream
Parse.Macro
Parse.Madlib.AST
Parse.Madlib.ImportCycle
Parse.Madlib.TargetMacro
Parse.Megaparsec.Comments
Parse.Megaparsec.Common
Parse.Megaparsec.Declaration
Parse.Megaparsec.DocString
Parse.Megaparsec.Error
Parse.Megaparsec.Escape
Parse.Megaparsec.Expression
Parse.Megaparsec.Lexeme
Parse.Megaparsec.Madlib
Parse.Megaparsec.Pattern
Parse.Megaparsec.Typing
Run.CommandLine
Run.Compile
Run.Config
Run.ErrorFormat
Run.Format
Run.GenerateDocumentation
Run.GeneratePackage
Run.LanguageServer
Run.LanguageServer.Completion
Run.LanguageServer.Diagnostics
Run.LanguageServer.Hover
Run.LanguageServer.State
Run.OptimizationLevel
Run.Options
Run.Package
Run.PackageAdd
Run.PackageHash
Run.PackageInstaller
Run.PGOMode
Run.Repl
Run.Run
Run.SourceMapMode
Run.Target
Run.TestRunner
Run.Utils
Utils.EditDistance
Utils.Hash
Utils.IO
Utils.List
Utils.Path
Utils.PathUtils
Utils.Record
Utils.Tuple
Utils.URL
Utils.Version
VersionLock.PublicAPI
VersionLock.VersionLock
other-modules:
Paths_madlib
hs-source-dirs:
compiler/main
ghc-options: -threaded -funbox-strict-fields -O3 -optc-O3 -fsimpl-tick-factor=500 -rtsopts -fexcess-precision -optc-ffast-math -funfolding-use-threshold=16 -Wunused-binds -Wunused-local-binds -Wunused-matches -Wunused-pattern-binds -Wunused-top-binds -Wunused-type-patterns
build-tools:
alex
build-depends:
Cabal ==3.6.2.0
, Glob >=0.10.2
, MissingH >=1.4.3.0
, aeson ==1.5.6.0
, aeson-pretty
, ansi-terminal ==0.5.0
, ansi-wl-pprint >=0.6.9
, array
, async ==2.2.4
, base >=4.7 && <5
, bytestring
, common
, constraints-extras ==0.3.2.0
, containers >=0.6.2.1
, cryptohash-md5
, data-default ==0.7.1.1
, dependent-hashmap ==0.1.0.1
, dependent-sum ==0.7.1.0
, dependent-sum-template ==0.1.*
, diagnose
, directory ==1.3.6.0
, either
, exceptions
, executable-path >=0.0.3.1
, filepath
, fold-debounce ==0.2.0.9
, fsnotify ==0.3.0.1
, groupBy
, hashable
, haskeline ==0.8.2.1
, hpc-codecov
, hpc-lcov
, hspec
, hspec-golden
, lifted-base ==0.2.3.12
, llvm-hs ==12.0.0
, llvm-hs-pure ==12.0.0
, lsp
, megaparsec >=9.0
, monad-control ==1.0.3.1
, mtl
, optparse-applicative >=0.16.1.0
, parallel-io ==0.3.5
, parser-combinators >=1.3
, pretty-show
, prettyprinter >=1.6.2
, prettyprinter-ansi-terminal
, process >=1.6.9.0
, process-extras
, random ==1.2.1
, regex-tdfa
, rock ==0.3.*
, silently
, some ==1.*
, stm ==2.5.0.2
, template-haskell
, text
, time ==1.9.3
, transformers
, transformers-base ==0.4.6
, unordered-containers ==0.2.16.0
, utf8-string
default-language: Haskell2010
library common
exposed-modules:
AST.Canonical
AST.Core
AST.Solved
AST.Source
Canonicalize.Coverable
Canonicalize.Env
Canonicalize.InstanceToDerive
Driver.Query
Error.Context
Error.Error
Error.Warning
Explain.Location
Generate.LLVM.Env
Generate.LLVM.Hashable
Generate.LLVM.SymbolTable
Infer.ADTInfo
Infer.Env
Infer.MonomorphizationState
Infer.Type
Parse.DocString.DocString
other-modules:
Paths_madlib
hs-source-dirs:
compiler/common
ghc-options: -threaded -funbox-strict-fields -O3 -optc-O3 -fsimpl-tick-factor=500 -rtsopts -fexcess-precision -optc-ffast-math -funfolding-use-threshold=16 -Wunused-binds -Wunused-local-binds -Wunused-matches -Wunused-pattern-binds -Wunused-top-binds -Wunused-type-patterns
build-depends:
Cabal ==3.6.2.0
, Glob >=0.10.2
, MissingH >=1.4.3.0
, aeson ==1.5.6.0
, aeson-pretty
, ansi-terminal ==0.5.0
, ansi-wl-pprint >=0.6.9
, async ==2.2.4
, base >=4.7 && <5
, bytestring
, constraints-extras ==0.3.2.0
, containers >=0.6.2.1
, cryptohash-md5
, data-default ==0.7.1.1
, dependent-hashmap ==0.1.0.1
, dependent-sum ==0.7.1.0
, dependent-sum-template ==0.1.*
, diagnose
, directory ==1.3.6.0
, either
, exceptions
, executable-path >=0.0.3.1
, filepath
, fold-debounce ==0.2.0.9
, fsnotify ==0.3.0.1
, groupBy
, hashable
, haskeline ==0.8.2.1
, hpc-codecov
, hpc-lcov
, hspec
, hspec-golden
, lifted-base ==0.2.3.12
, llvm-hs-pure ==12.0.0
, lsp
, megaparsec >=9.0
, monad-control ==1.0.3.1
, mtl
, optparse-applicative >=0.16.1.0
, parallel-io ==0.3.5
, parser-combinators >=1.3
, pretty-show
, prettyprinter >=1.6.2
, prettyprinter-ansi-terminal
, process >=1.6.9.0
, process-extras
, random ==1.2.1
, regex-tdfa
, rock ==0.3.*
, silently
, some ==1.*
, stm ==2.5.0.2
, template-haskell
, text
, time ==1.9.3
, transformers
, transformers-base ==0.4.6
, unordered-containers ==0.2.16.0
, utf8-string
default-language: Haskell2010
executable madlib
main-is: Main.hs
other-modules:
Paths_madlib
hs-source-dirs:
compiler/app
ghc-options: -with-rtsopts=-A768m
build-depends:
Cabal ==3.6.2.0
, Glob >=0.10.2
, MissingH >=1.4.3.0
, aeson ==1.5.6.0
, aeson-pretty
, ansi-terminal ==0.5.0
, ansi-wl-pprint >=0.6.9
, async ==2.2.4
, base >=4.7 && <5
, bytestring
, constraints-extras ==0.3.2.0
, containers >=0.6.2.1
, cryptohash-md5
, data-default ==0.7.1.1
, dependent-hashmap ==0.1.0.1
, dependent-sum ==0.7.1.0
, dependent-sum-template ==0.1.*
, diagnose
, directory ==1.3.6.0
, either
, exceptions
, executable-path >=0.0.3.1
, filepath
, fold-debounce ==0.2.0.9
, fsnotify ==0.3.0.1
, groupBy
, hashable
, haskeline ==0.8.2.1
, hpc-codecov
, hpc-lcov
, hspec
, hspec-golden
, lifted-base ==0.2.3.12
, lsp
, madlib
, megaparsec >=9.0
, monad-control ==1.0.3.1
, mtl
, optparse-applicative >=0.16.1.0
, parallel-io ==0.3.5
, parser-combinators >=1.3
, pretty-show
, prettyprinter >=1.6.2
, prettyprinter-ansi-terminal
, process >=1.6.9.0
, process-extras
, random ==1.2.1
, regex-tdfa
, rock ==0.3.*
, silently
, some ==1.*
, stm ==2.5.0.2
, template-haskell
, text
, time ==1.9.3
, transformers
, transformers-base ==0.4.6
, unordered-containers ==0.2.16.0
, utf8-string
if flag(static)
ld-options: -static
default-language: Haskell2010
executable madlib-fuzz
main-is: Main.hs
other-modules:
Paths_madlib
hs-source-dirs:
compiler/fuzz
ghc-options: -threaded -funbox-strict-fields -O3 -optc-O3 -fsimpl-tick-factor=500 -rtsopts -fexcess-precision -optc-ffast-math -funfolding-use-threshold=16 -Wunused-binds -Wunused-local-binds -Wunused-matches -Wunused-pattern-binds -Wunused-top-binds -Wunused-type-patterns
build-depends:
Cabal ==3.6.2.0
, Glob >=0.10.2
, MissingH >=1.4.3.0
, aeson ==1.5.6.0
, aeson-pretty
, ansi-terminal ==0.5.0
, ansi-wl-pprint >=0.6.9
, async ==2.2.4
, base >=4.7 && <5
, bytestring
, constraints-extras ==0.3.2.0
, containers >=0.6.2.1
, cryptohash-md5
, data-default ==0.7.1.1
, dependent-hashmap ==0.1.0.1
, dependent-sum ==0.7.1.0
, dependent-sum-template ==0.1.*
, diagnose
, directory ==1.3.6.0
, either
, exceptions
, executable-path >=0.0.3.1
, filepath
, fold-debounce ==0.2.0.9
, fsnotify ==0.3.0.1
, groupBy
, hashable
, haskeline ==0.8.2.1
, hpc-codecov
, hpc-lcov
, hspec
, hspec-golden
, lifted-base ==0.2.3.12
, lsp
, madlib
, megaparsec >=9.0
, monad-control ==1.0.3.1
, mtl
, optparse-applicative >=0.16.1.0
, parallel-io ==0.3.5
, parser-combinators >=1.3
, pretty-show
, prettyprinter >=1.6.2
, prettyprinter-ansi-terminal
, process >=1.6.9.0
, process-extras
, random ==1.2.1
, regex-tdfa
, rock ==0.3.*
, silently
, some ==1.*
, stm ==2.5.0.2
, template-haskell
, text
, time ==1.9.3
, transformers
, transformers-base ==0.4.6
, unordered-containers ==0.2.16.0
, utf8-string
default-language: Haskell2010
test-suite madlib-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Blackbox.RunnerSpec
DocStringSpec
Explain.FormatSpec
Format.FormatSpec
FuzzSpec
Generate.JSInternalsSpec
Infer.SolveSpec
MegaparsecSpec
Run.PackageSpec
TestUtils
Utils.PathSpec
Paths_madlib
hs-source-dirs:
compiler/test
build-depends:
Cabal ==3.6.2.0
, Glob >=0.10.2
, MissingH >=1.4.3.0
, aeson ==1.5.6.0
, aeson-pretty
, ansi-terminal ==0.5.0
, ansi-wl-pprint >=0.6.9
, async ==2.2.4
, base >=4.7 && <5
, bytestring
, common
, constraints-extras ==0.3.2.0
, containers >=0.6.2.1
, cryptohash-md5
, data-default ==0.7.1.1
, dependent-hashmap ==0.1.0.1
, dependent-sum ==0.7.1.0
, dependent-sum-template ==0.1.*
, diagnose
, directory ==1.3.6.0
, either
, exceptions
, executable-path >=0.0.3.1
, filepath
, fold-debounce ==0.2.0.9
, fsnotify ==0.3.0.1
, groupBy
, hashable
, haskeline ==0.8.2.1
, hpc-codecov
, hpc-lcov
, hspec >=2.7.2
, hspec-golden
, lifted-base ==0.2.3.12
, lsp
, madlib
, megaparsec >=9.0
, monad-control ==1.0.3.1
, mtl
, optparse-applicative >=0.16.1.0
, parallel-io ==0.3.5
, parser-combinators >=1.3
, pretty-show
, prettyprinter >=1.6.2
, prettyprinter-ansi-terminal
, process >=1.6.9.0
, process-extras
, random ==1.2.1
, regex-tdfa
, rock ==0.3.*
, silently
, some ==1.*
, stm ==2.5.0.2
, template-haskell
, text
, time ==1.9.3
, transformers
, transformers-base ==0.4.6
, unordered-containers ==0.2.16.0
, utf8-string
default-language: Haskell2010