forked from Haskell-Things/ImplicitCAD
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathimplicit.cabal
311 lines (300 loc) · 10.5 KB
/
implicit.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
Name: implicit
Version: 0.3.0.1
Cabal-version: >= 1.10
Tested-with: GHC >= 8.6
Build-type: Simple
Synopsis: A math-inspired programmatic 2D & 3D CAD system.
Description: An OpenSCAD execution engine for generating models in STL and many other formats.
License: AGPL-3
License-file: LICENSE
Author: Julia Longtin <[email protected]>
Maintainer: Julia Longtin <[email protected]>
Homepage: http://implicitcad.org/
Category: Graphics
Library
Default-Extensions: NoImplicitPrelude
Default-Language: Haskell2010
Build-depends:
base >= 3 && < 5,
filepath,
directory,
parsec,
parallel,
containers,
deepseq,
vector-space,
hspec,
text,
bytestring,
blaze-builder,
blaze-markup,
blaze-svg,
storable-endian,
JuicyPixels,
transformers,
mtl
Ghc-options:
-- -O2
-optc-O3
-- -dynamic
-- see GHC manual 8.2.1 section 6.5.1.
-feager-blackholing
-- for debugging.
-Wall
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
-- -Werror
Exposed-modules:
Graphics.Implicit
Graphics.Implicit.Definitions
Graphics.Implicit.Primitives
Graphics.Implicit.Export
Graphics.Implicit.MathUtil
Graphics.Implicit.ExtOpenScad
Graphics.Implicit.ObjectUtil
-- These modules are exposed for the unit tests against the parser interface.
Graphics.Implicit.ExtOpenScad.Parser.Statement
Graphics.Implicit.ExtOpenScad.Parser.Expr
Graphics.Implicit.ExtOpenScad.Eval.Constant
Graphics.Implicit.ExtOpenScad.Definitions
-- These are exposed for Benchmark.
Graphics.Implicit.Export.SymbolicObj2
Graphics.Implicit.Export.SymbolicObj3
-- These are exposed for implicitsnap.
Graphics.Implicit.Export.TriangleMeshFormats
Graphics.Implicit.Export.NormedTriangleMeshFormats
Graphics.Implicit.Export.PolylineFormats
Graphics.Implicit.Export.DiscreteAproxable
-- These are exposed for docgen.
Graphics.Implicit.ExtOpenScad.Primitives
Other-modules:
Graphics.Implicit.FastIntUtil
Graphics.Implicit.IntegralUtil
Graphics.Implicit.ObjectUtil.GetBox2
Graphics.Implicit.ObjectUtil.GetBox3
Graphics.Implicit.ObjectUtil.GetImplicit2
Graphics.Implicit.ObjectUtil.GetImplicit3
Graphics.Implicit.ExtOpenScad.Default
Graphics.Implicit.ExtOpenScad.Parser.Lexer
Graphics.Implicit.ExtOpenScad.Parser.Util
Graphics.Implicit.ExtOpenScad.Eval.Statement
Graphics.Implicit.ExtOpenScad.Eval.Expr
Graphics.Implicit.ExtOpenScad.Util.ArgParser
Graphics.Implicit.ExtOpenScad.Util.OVal
Graphics.Implicit.ExtOpenScad.Util.StateC
Graphics.Implicit.Export.MarchingSquaresFill
Graphics.Implicit.Export.RayTrace
Graphics.Implicit.Export.SymbolicFormats
Graphics.Implicit.Export.Util
Graphics.Implicit.Export.TextBuilderUtils
Graphics.Implicit.Export.Symbolic.Rebound2
Graphics.Implicit.Export.Symbolic.Rebound3
Graphics.Implicit.Export.Render
Graphics.Implicit.Export.Render.Definitions
Graphics.Implicit.Export.Render.GetLoops
Graphics.Implicit.Export.Render.GetSegs
Graphics.Implicit.Export.Render.HandleSquares
Graphics.Implicit.Export.Render.Interpolate
Graphics.Implicit.Export.Render.RefineSegs
Graphics.Implicit.Export.Render.TesselateLoops
Graphics.Implicit.Export.Render.HandlePolylines
Executable extopenscad
Main-is: extopenscad.hs
default-extensions: NoImplicitPrelude
Default-Language: Haskell2010
Hs-source-dirs: programs
Build-depends:
base,
vector-space,
filepath,
optparse-applicative >= 0.10.0,
text,
implicit
Ghc-options:
-- -O2
-optc-O3
-threaded
-rtsopts
-- -dynamic
-- see GHC manual 8.2.1 section 6.5.1.
-feager-blackholing
-- for debugging.
-Wall
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
-- -Werror
Executable docgen
main-is: docgen.hs
default-extensions: NoImplicitPrelude
Default-Language: Haskell2010
Hs-source-dirs: programs
build-depends:
base,
text,
implicit
ghc-options:
-- -dynamic
-- for debugging.
-Wall
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
-- -Werror
Executable implicitsnap
Main-is: implicitsnap.hs
default-extensions: NoImplicitPrelude
Default-Language: Haskell2010
Hs-source-dirs: programs
Build-depends:
aeson,
base,
bytestring,
implicit,
snap-core,
snap-server,
text,
utf8-string,
vector-space
Ghc-options:
-threaded
-rtsopts
-- -O2
-optc-O3
-- -dynamic
-- see GHC manual 8.2.1 section 6.5.1.
-feager-blackholing
-- for debugging.
-Wall
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
-- -Werror
Executable Benchmark
Main-is: Benchmark.hs
default-extensions: NoImplicitPrelude
Default-Language: Haskell2010
Hs-source-dirs: programs
Build-depends:
base,
criterion,
implicit
Ghc-options:
-- -O2
-optc-O3
-- -dynamic
-- for debugging.
-Wall
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
-- -Werror
Test-suite test-implicit
Type: exitcode-stdio-1.0
default-extensions: NoImplicitPrelude
Default-Language: Haskell2010
Build-depends:
base,
hspec,
implicit,
text,
parsec,
HUnit,
hedgehog,
hw-hspec-hedgehog
Main-is: Main.hs
Hs-source-dirs: tests
Ghc-options:
-- -O2
-optc-O3
-- -dynamic
-- for debugging.
-Wall
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
-- -Werror
Other-Modules:
ParserSpec.Expr
ParserSpec.Statement
ParserSpec.Util
ExecSpec.Expr
ExecSpec.Util
MessageSpec.Message
MessageSpec.Util
PropertySpec
PropertySpec.Exec
Benchmark parser-bench
Type: exitcode-stdio-1.0
default-extensions: NoImplicitPrelude
Default-Language: Haskell2010
Build-depends:
base,
criterion,
parsec,
implicit
Main-is: parser-bench.hs
Hs-source-dirs: programs
Ghc-options:
-- -O2
-optc-O3
-- -dynamic
-- for debugging.
-Wall
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
-- -Werror
Source-repository head
Type: git
Location: https://github.com/colah/ImplicitCAD.git