-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathelara.cabal
More file actions
386 lines (381 loc) · 8.86 KB
/
elara.cabal
File metadata and controls
386 lines (381 loc) · 8.86 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
cabal-version: 2.0
-- This file has been generated from package.yaml by hpack version 0.38.3.
--
-- see: https://github.com/sol/hpack
name: elara
version: 0.1.0
synopsis: See README for more info
description: See README for more info
homepage: https://github.com/ElaraLang/elara#readme
author: Alexander Wood
maintainer: Alexander Wood <alexljwood24@hotmail.co.uk>
copyright: 2022 Alexander Wood
license: MIT
license-file: LICENSE
build-type: Simple
library
exposed-modules:
Effectful.Error.Extra
Effectful.State.Extra
Elara.AST.Desugared
Elara.AST.Frontend
Elara.AST.Generic
Elara.AST.Generic.Common
Elara.AST.Generic.Instances
Elara.AST.Generic.Instances.DataPlated
Elara.AST.Generic.Instances.Pretty
Elara.AST.Generic.Instances.Simple
Elara.AST.Generic.Instances.StripLocation
Elara.AST.Generic.Pattern
Elara.AST.Generic.Types
Elara.AST.Generic.Utils
Elara.AST.Introspection
Elara.AST.Kinded
Elara.AST.Module
Elara.AST.Name
Elara.AST.Pretty
Elara.AST.Region
Elara.AST.Renamed
Elara.AST.Select
Elara.AST.Shunted
Elara.AST.StripLocation
Elara.AST.Typed
Elara.AST.Unlocated
Elara.AST.VarRef
Elara.ConstExpr
Elara.Core
Elara.Core.Analysis
Elara.Core.ANF
Elara.Core.Generic
Elara.Core.LiftClosures
Elara.Core.LiftClosures.Error
Elara.Core.LiftClosures.Util
Elara.Core.Module
Elara.Core.Pretty
Elara.Core.ToANF
Elara.Core.TypeCheck
Elara.CoreToCore
Elara.Data.AtLeast2List
Elara.Data.Kind
Elara.Data.Kind.Infer
Elara.Data.Pretty
Elara.Data.Pretty.Styles
Elara.Data.TopologicalGraph
Elara.Data.Unique
Elara.Data.Unique.Effect
Elara.Data.Unwrap
Elara.Desugar
Elara.Desugar.Error
Elara.Error
Elara.Error.Codes
Elara.Error.Effect
Elara.Error.Internal
Elara.Interpreter
Elara.JVM.Emit
Elara.JVM.Emit.Lambda
Elara.JVM.Emit.Operator
Elara.JVM.Emit.State
Elara.JVM.Emit.Types
Elara.JVM.Emit.Utils
Elara.JVM.Error
Elara.JVM.IR
Elara.JVM.Lower
Elara.JVM.Query
Elara.JVM.Lower.ADT
Elara.JVM.Lower.Expr
Elara.JVM.Lower.Function
Elara.JVM.Lower.Match
Elara.JVM.Lower.Monad
Elara.JVM.Lower.Util
Elara.Lexer.Action
Elara.Lexer.Char
Elara.Lexer.Lexer
Elara.Lexer.Reader
Elara.Lexer.Token
Elara.Lexer.Utils
Elara.Logging
Elara.ModuleIndex
Elara.Parse
Elara.Parse.Annotation
Elara.Parse.Combinators
Elara.Parse.Debug
Elara.Parse.Declaration
Elara.Parse.Error
Elara.Parse.Expression
Elara.Parse.Indents
Elara.Parse.Literal
Elara.Parse.Module
Elara.Parse.Names
Elara.Parse.Pattern
Elara.Parse.Primitives
Elara.Parse.Stream
Elara.Parse.Type
Elara.Pipeline
Elara.Prim
Elara.Prim.Core
Elara.Prim.Rename
Elara.Query
Elara.Query.Common
Elara.Query.Effects
Elara.Query.Errors
Elara.Query.TH
Elara.ReadFile
Elara.Rename
Elara.Rename.Error
Elara.Rename.Imports
Elara.Rename.State
Elara.Rules
Elara.Rules.Generic
Elara.SCC
Elara.SCC.Type
Elara.Settings
Elara.Shunt
Elara.Shunt.Error
Elara.Shunt.Operator
Elara.ToCore
Elara.ToCore.Match
Elara.TypeInfer
Elara.TypeInfer.ConstraintGeneration
Elara.TypeInfer.Context
Elara.TypeInfer.Convert
Elara.TypeInfer.Environment
Elara.TypeInfer.Error
Elara.TypeInfer.Ftv
Elara.TypeInfer.Generalise
Elara.TypeInfer.Monad
Elara.TypeInfer.Render
Elara.TypeInfer.Syntax
Elara.TypeInfer.Type
Elara.TypeInfer.Unique
Elara.Utils
Elara.Width
Prelude
Print
Rock
Rock.Memo
TODO
hs-source-dirs:
src
default-extensions:
OverloadedStrings
OverloadedRecordDot
TypeFamilies
LambdaCase
ImportQualifiedPost
DeriveDataTypeable
DataKinds
DeriveFunctor
TypeApplications
PartialTypeSignatures
ghc-options: -W -Wno-name-shadowing -Wno-partial-type-signatures -Widentities -optP-Wno-nonportable-include-path -fdefer-typed-holes -fno-show-valid-hole-fits -fplugin=Effectful.Plugin -fwrite-ide-info -hiedir=.hie -O0 -threaded -rtsopts -with-rtsopts=-N
build-tool-depends:
alex:alex
build-depends:
aeson
, algebraic-graphs
, array
, base ==4.*
, binary
, bytestring
, co-log-core
, co-log-effectful
, containers
, dependent-hashmap
, dependent-sum-template
, diagnose
, directory
, effectful >=2.6.1.0
, effectful-core
, effectful-plugin
, effectful-th
, filepath
, generic-optics
, h2jvm
, hashable
, kind-generics-th
, lens
, lifted-base
, matrix
, megaparsec
, mtl
, optics
, parser-combinators
, pretty-simple
, prettyprinter
, prettyprinter-ansi-terminal
, process
, relude
, safe-exceptions
, some
, stringsearch
, template-haskell
, terminal-size
, text-metrics
, time
, utf8-string
mixins:
base hiding (Prelude)
default-language: GHC2024
executable elara
main-is: Main.hs
other-modules:
Paths_elara
autogen-modules:
Paths_elara
hs-source-dirs:
app
default-extensions:
OverloadedStrings
OverloadedRecordDot
TypeFamilies
LambdaCase
ImportQualifiedPost
DeriveDataTypeable
DataKinds
DeriveFunctor
TypeApplications
PartialTypeSignatures
ghc-options: -W -Wno-name-shadowing -Wno-partial-type-signatures -Widentities -optP-Wno-nonportable-include-path -fdefer-typed-holes -fno-show-valid-hole-fits -fplugin=Effectful.Plugin -fwrite-ide-info -hiedir=.hie -O0 -threaded -rtsopts -with-rtsopts=-N -threaded -rtsopts -with-rtsopts=-N
build-depends:
aeson
, algebraic-graphs
, array
, autodocodec
, base ==4.*
, binary
, bytestring
, co-log-core
, co-log-effectful
, containers
, dependent-hashmap
, dependent-sum-template
, diagnose
, directory
, effectful >=2.6.1.0
, effectful-core
, effectful-plugin
, effectful-th
, elara
, filepath
, generic-optics
, h2jvm
, hashable
, kind-generics-th
, lens
, lifted-base
, matrix
, megaparsec
, mtl
, opt-env-conf
, optics
, parser-combinators
, pretty-simple
, prettyprinter
, prettyprinter-ansi-terminal
, process
, relude
, safe-exceptions
, some
, stringsearch
, template-haskell
, terminal-size
, text-metrics
, time
, utf8-string
mixins:
base hiding (Prelude)
default-language: GHC2024
test-suite elara-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Arbitrary.AST
Arbitrary.Literals
Arbitrary.Names
Arbitrary.Type
Boilerplate
Common
HedgehogSyd
Golden
Infer
Infer.Unify
Lex
Lex.Common
Lex.Indents
LiftClosures
Orphans
Parse
Parse.Common
Parse.Expressions
Parse.Patterns
Region
Shunt
hs-source-dirs:
test
default-extensions:
OverloadedStrings
OverloadedRecordDot
TypeFamilies
LambdaCase
ImportQualifiedPost
DeriveDataTypeable
DataKinds
DeriveFunctor
TypeApplications
PartialTypeSignatures
QuasiQuotes
ghc-options: -W -Wno-name-shadowing -Wno-partial-type-signatures -Widentities -optP-Wno-nonportable-include-path -fdefer-typed-holes -fno-show-valid-hole-fits -fplugin=Effectful.Plugin -fwrite-ide-info -hiedir=.hie -O0 -threaded -rtsopts -with-rtsopts=-N -threaded -rtsopts -with-rtsopts=-N
build-depends:
HUnit
, QuickCheck
, aeson
, algebraic-graphs
, array
, base ==4.*
, binary
, bytestring
, co-log-core
, co-log-effectful
, containers
, dependent-hashmap
, dependent-sum-template
, diagnose
, directory
, effectful >=2.6.1.0
, effectful-core
, effectful-plugin
, effectful-th
, elara
, filepath
, generic-optics
, h2jvm
, hashable
, hedgehog
, hspec-megaparsec
, kind-generics-th
, lens
, lifted-base
, matrix
, megaparsec
, mtl
, neat-interpolation
, optics
, parser-combinators
, pretty-simple
, prettyprinter
, prettyprinter-ansi-terminal
, process
, relude
, safe-exceptions
, some
, stringsearch
, sydtest
, sydtest-hedgehog
, template-haskell
, terminal-size
, text-metrics
, time
, utf8-string
mixins:
base hiding (Prelude)
default-language: GHC2024