-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
helma.cabal
388 lines (321 loc) · 10.4 KB
/
helma.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
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
cabal-version: 2.4
name: helma
version: 0.8.4.14
synopsis: HELMA - Haskellish Esoteric Limited Minimal Automaton
description: Please see the README on GitHub at <https://github.com/helvm/helma#readme>
homepage: http://helvm.org/helma/
bug-reports: https://github.com/helvm/helma/issues
license: Apache-2.0
license-file: docs/license/LICENSE-APACHE
author: Kamil Adam
maintainer: [email protected]
copyright: 2020-2024 WriteOnly Developers
category: Language
build-type: Simple
extra-source-files:
docs/developers/CHANGELOG.md
docs/README.md
tested-with: GHC == 9.6.2
source-repository head
type: git
location: https://github.com/helvm/helma
flag ghcoptions
description: compile with options
manual: True
default: False
common common-options
build-depends:
base < 4.19
, relude == 1.1.0.0
mixins:
base hiding (Prelude)
, relude (Relude as Prelude, Relude.Extra, Data.Text)
default-language: Haskell2010
default-extensions:
EmptyDataDecls
ExistentialQuantification
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
-- NoImplicitPrelude
OverloadedStrings
PartialTypeSignatures
PatternGuards
PolyKinds
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeFamilies
TypeSynonymInstances
ViewPatterns
-- CPP
-- TemplateHaskell
-- ForeignFunctionInterface
-- MagicHash
-- UnliftedFFITypes
TypeOperators
-- UnboxedTuples
-- PackageImports
-- QuasiQuotes
-- DeriveAnyClass
-- DeriveLift
-- StaticPointers
DerivingStrategies
ConstraintKinds
StrictData
if flag(ghcoptions)
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
-Wnoncanonical-monad-instances
-fhide-source-paths
-- -Wmissing-export-lists FIXME
-Wpartial-fields
-Wmissing-deriving-strategies
-fwrite-ide-info
-hiedir=.hie
-Wunused-packages
-fprint-potential-instances
-Werror
library
import: common-options
hs-source-dirs: hs/src
exposed-modules:
HelVM.HelMA.Automaton.API.AutomatonOptions
HelVM.HelMA.Automaton.API.MemoryOptions
HelVM.HelMA.Automaton.API.AutoOptions
HelVM.HelMA.Automaton.API.EvalParams
HelVM.HelMA.Automaton.API.IOTypes
HelVM.HelMA.Automaton.API.OptimizationLevel
HelVM.HelMA.Automaton.Automaton
HelVM.HelMA.Automaton.IO.BusinessIO
HelVM.HelMA.Automaton.IO.AutomatonIO
HelVM.HelMA.Automaton.IO.FreeIO
HelVM.HelMA.Automaton.IO.MockIO
HelVM.HelMA.Automaton.Instruction
HelVM.HelMA.Automaton.Instruction.Groups.CFInstruction
HelVM.HelMA.Automaton.Instruction.Groups.IOInstruction
HelVM.HelMA.Automaton.Instruction.Groups.LSInstruction
HelVM.HelMA.Automaton.Instruction.Groups.SMInstruction
HelVM.HelMA.Automaton.Instruction.Extras.Constructors
HelVM.HelMA.Automaton.Instruction.Extras.Patterns
HelVM.HelMA.Automaton.Instruction.Extras.Common
HelVM.HelMA.Automaton.Instruction.Extras.TextExtra
HelVM.HelMA.Automaton.Optimizer
HelVM.HelMA.Automaton.Optimizer.ConstantFoldingOptimizer
HelVM.HelMA.Automaton.Optimizer.DeadCodeOptimizer
HelVM.HelMA.Automaton.Optimizer.MarkRemovingOptimizer
HelVM.HelMA.Automaton.Optimizer.PeepholeOptimizer
HelVM.HelMA.Automaton.ReadPExtra
HelVM.HelMA.Automaton.Symbol
HelVM.HelMA.Automaton.Trampoline
HelVM.HelMA.Automaton.Types.CellType
HelVM.HelMA.Automaton.Types.DumpType
HelVM.HelMA.Automaton.Types.FormatType
HelVM.HelMA.Automaton.Types.IntCellType
HelVM.HelMA.Automaton.Types.RAMType
HelVM.HelMA.Automaton.Types.StackType
HelVM.HelMA.Automaton.Types.TokenType
HelVM.HelMA.Automaton.Combiner
HelVM.HelMA.Automaton.Combiner.ALU
HelVM.HelMA.Automaton.Combiner.CPU
HelVM.HelMA.Automaton.Combiner.LSU
HelVM.HelMA.Automaton.Combiner.RAM
HelVM.HelMA.Automaton.WrapTokenList
HelVM.HelMA.Automata.BrainFuck.Evaluator
HelVM.HelMA.Automata.BrainFuck.API.BFType
HelVM.HelMA.Automata.BrainFuck.Common.SimpleInstruction
HelVM.HelMA.Automata.BrainFuck.Common.Symbol
HelVM.HelMA.Automata.BrainFuck.Common.TapeOfSymbols
HelVM.HelMA.Automata.BrainFuck.Impl.Fast.Evaluator
HelVM.HelMA.Automata.BrainFuck.Impl.Fast.Instruction
HelVM.HelMA.Automata.BrainFuck.Impl.Fast.Optimizer
HelVM.HelMA.Automata.BrainFuck.Impl.Fast.Parser
HelVM.HelMA.Automata.BrainFuck.Impl.Flat.Evaluator
HelVM.HelMA.Automata.BrainFuck.Impl.Flat.Instruction
HelVM.HelMA.Automata.BrainFuck.Impl.Flat.Parser
HelVM.HelMA.Automata.BrainFuck.Impl.Flat.TableOfInstructions
HelVM.HelMA.Automata.BrainFuck.Impl.Tree.Evaluator
HelVM.HelMA.Automata.BrainFuck.Impl.Tree.Instruction
HelVM.HelMA.Automata.BrainFuck.Impl.Tree.InstructionUnit
HelVM.HelMA.Automata.BrainFuck.Impl.Tree.Parser
HelVM.HelMA.Automata.Cat.Evaluator
HelVM.HelMA.Automata.ETA.API.ETAImplType
HelVM.HelMA.Automata.ETA.Addressing
HelVM.HelMA.Automata.ETA.Automaton
HelVM.HelMA.Automata.ETA.Evaluator
HelVM.HelMA.Automata.ETA.Lexer
HelVM.HelMA.Automata.ETA.OperandParsers
HelVM.HelMA.Automata.ETA.Optimizer
HelVM.HelMA.Automata.ETA.Parser
HelVM.HelMA.Automata.ETA.SimpleParams
HelVM.HelMA.Automata.ETA.Symbol
HelVM.HelMA.Automata.ETA.Token
HelVM.HelMA.Automata.FALSE.Expression
HelVM.HelMA.Automata.FALSE.Parser
HelVM.HelMA.Automata.LazyK.Automaton
HelVM.HelMA.Automata.LazyK.Constants
HelVM.HelMA.Automata.LazyK.Evaluator
HelVM.HelMA.Automata.LazyK.InputEncoder
HelVM.HelMA.Automata.LazyK.Lambda
HelVM.HelMA.Automata.LazyK.Lexer
HelVM.HelMA.Automata.LazyK.Parser
HelVM.HelMA.Automata.LazyK.Reducer
HelVM.HelMA.Automata.Piet.Color
HelVM.HelMA.Automata.Piet.Coordinates
HelVM.HelMA.Automata.Piet.Image
HelVM.HelMA.Automata.Piet.MonadFailExtra
HelVM.HelMA.Automata.Piet.Parser
HelVM.HelMA.Automata.Rev.Evaluator
HelVM.HelMA.Automata.SubLeq.Automaton
HelVM.HelMA.Automata.SubLeq.Evaluator
HelVM.HelMA.Automata.SubLeq.Lexer
HelVM.HelMA.Automata.SubLeq.Symbol
HelVM.HelMA.Automata.WhiteSpace.Evaluator
HelVM.HelMA.Automata.WhiteSpace.Lexer
HelVM.HelMA.Automata.WhiteSpace.OperandParsers
HelVM.HelMA.Automata.WhiteSpace.Parser
HelVM.HelMA.Automata.WhiteSpace.SimpleParams
HelVM.HelMA.Automata.WhiteSpace.Token
HelVM.HelMA.Automata.Zot.Automaton
HelVM.HelMA.Automata.Zot.Parser
HelVM.HelMA.Automata.Zot.Evaluator
HelVM.HelMA.Automata.Zot.Expression
build-depends:
helio
, array
, containers < 0.7
, bytestring
, data-default
, dlist
, extra
, free
, ilist
, Imlib >= 0.1
, ListLike
, natural-transformation
, mtl
, safe
, text
, type-operators
, vector
, yjtools
ghc-options:
executable helma
import: common-options
hs-source-dirs: hs/app
main-is: Main.hs
other-modules:
AppOptions
BoolTypes
Emit
Lang
build-depends:
helio
, helma
, optparse-applicative >= 0.14.3.0
, pretty-simple
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
test-suite helma-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: hs/test
main-is: Main.hs
other-modules:
Spec
SpecHook
HelVM.Expectations
HelVM.GoldenExpectations
HelVM.HelMA.Automaton.API.AutoOptionsExtra
HelVM.HelMA.Automaton.FilterIf0Spec
HelVM.HelMA.Automaton.OptimizerSpec
HelVM.HelMA.Automata.FileExtra
HelVM.HelMA.Automata.BrainFuck.EvaluatorSpec
HelVM.HelMA.Automata.BrainFuck.EvaluatorSpecData
HelVM.HelMA.Automata.BrainFuck.FileExtra
HelVM.HelMA.Automata.BrainFuck.InstructionSpec
HelVM.HelMA.Automata.BrainFuck.ParserSpec
HelVM.HelMA.Automata.Cat.EvaluatorSpec
HelVM.HelMA.Automata.ETA.AddressingSpec
HelVM.HelMA.Automata.ETA.EvaluatorSpec
HelVM.HelMA.Automata.ETA.FileExtra
HelVM.HelMA.Automata.ETA.LexerSpec
HelVM.HelMA.Automata.ETA.OperandParsersSpec
HelVM.HelMA.Automata.FALSE.FileExtra
HelVM.HelMA.Automata.FALSE.ParserSpec
HelVM.HelMA.Automata.LazyK.EvaluatorSpec
HelVM.HelMA.Automata.LazyK.FileExtra
HelVM.HelMA.Automata.LazyK.NumberSpec
HelVM.HelMA.Automata.LazyK.ParserSpec
HelVM.HelMA.Automata.Piet.FileExtra
HelVM.HelMA.Automata.Piet.ParserSpec
HelVM.HelMA.Automata.Rev.EvaluatorSpec
HelVM.HelMA.Automata.SubLeq.EvaluatorSpec
HelVM.HelMA.Automata.SubLeq.EvaluatorSpecData
HelVM.HelMA.Automata.SubLeq.FileExtra
HelVM.HelMA.Automata.SubLeq.LexerSpec
HelVM.HelMA.Automata.WhiteSpace.EvaluatorSpec
HelVM.HelMA.Automata.WhiteSpace.FileExtra
HelVM.HelMA.Automata.WhiteSpace.OperandParsersSpec
HelVM.HelMA.Automata.WhiteSpace.ParserSpec
HelVM.HelMA.Automata.Zot.EvaluatorSpec
HelVM.HelMA.Automata.Zot.FileExtra
build-depends:
hspec
, hspec-core
, hspec-expectations-pretty-diff
, hspec-golden
, hspec-slow
, helio
, helma
, filepath
, type-operators
, vector
, yjtools
build-tool-depends: hspec-discover:hspec-discover == 2.*
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
benchmark helma-benchmark
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: hs/benchmark
main-is: Main.hs
other-modules:
HelVM.HelMA.Automata.FileExtra
HelVM.HelMA.Automata.BrainFuck.EvaluatorBenchMark
HelVM.HelMA.Automata.BrainFuck.FileExtra
HelVM.HelMA.Automata.ETA.EvaluatorBenchMark
HelVM.HelMA.Automata.ETA.FileExtra
HelVM.HelMA.Automata.SubLeq.EvaluatorBenchMark
HelVM.HelMA.Automata.SubLeq.FileExtra
HelVM.HelMA.Automata.WhiteSpace.EvaluatorBenchMark
HelVM.HelMA.Automata.WhiteSpace.FileExtra
build-depends:
gauge
, helio
, helma
, filepath
, ListLike
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N