This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
forked from elm/compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
elm.cabal
238 lines (213 loc) · 5.32 KB
/
elm.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
Name: elm
Version: 0.19.1
Synopsis:
The `elm` command line interface.
Description:
This includes commands like `elm make`, `elm repl`, and many others
for helping make Elm developers happy and productive.
Homepage: https://elm-lang.org
License: BSD3
License-file: LICENSE
Author: Evan Czaplicki
Maintainer: [email protected]
Copyright: Copyright (c) 2011-present, Evan Czaplicki
Category: Compiler, Language
Cabal-version: >=1.9
Build-type: Simple
source-repository head
type: git
location: git://github.com/elm/compiler.git
Flag dev {
Description: Turn off optimization and make warnings errors
Default: False
}
Executable elm
if flag(dev)
ghc-options: -O0 -Wall -Werror
else
ghc-options: -O2 -rtsopts -threaded "-with-rtsopts=-N -qg -A128m"
-- add -eventlog for (elm make src/Main.elm +RTS -l; threadscope elm.eventlog)
-- https://www.oreilly.com/library/view/parallel-and-concurrent/9781449335939/
Hs-Source-Dirs:
compiler/src
builder/src
terminal/impl
terminal/src
other-extensions:
TemplateHaskell
Main-Is:
Main.hs
other-modules:
Bump
Develop
Diff
Init
Install
Make
Publish
Repl
-- terminal args
Terminal
Terminal.Chomp
Terminal.Error
Terminal.Helpers
Terminal.Internal
-- from terminal/
Develop.Generate.Help
Develop.Generate.Index
Develop.StaticFiles
Develop.StaticFiles.Build
-- from builder/
Build
BackgroundWriter
Deps.Bump
Deps.Diff
Deps.Registry
Deps.Solver
Deps.Website
File
Generate
Http
Reporting
Reporting.Exit
Reporting.Exit.Help
Reporting.Task
Stuff
-- Elm things
Elm.Outline
Elm.Details
--
Elm.Compiler.Imports
Elm.Compiler.Type
Elm.Compiler.Type.Extract
Elm.Constraint
Elm.Docs
Elm.Float
Elm.Interface
Elm.Kernel
Elm.Licenses
Elm.Magnitude
Elm.ModuleName
Elm.Package
Elm.String
Elm.Version
-- data structures
Data.Bag
Data.Index
Data.Map.Utils
Data.Name
Data.NonEmptyList
Data.OneOrMore
Data.Utf8
-- json
Json.Decode
Json.Encode
Json.String
-- from compiler/
AST.Canonical
AST.Optimized
AST.Source
AST.Utils.Binop
AST.Utils.Shader
AST.Utils.Type
Canonicalize.Effects
Canonicalize.Environment
Canonicalize.Environment.Dups
Canonicalize.Environment.Foreign
Canonicalize.Environment.Local
Canonicalize.Expression
Canonicalize.Module
Canonicalize.Pattern
Canonicalize.Type
Compile
Generate.Html
Generate.JavaScript
Generate.JavaScript.Builder
Generate.JavaScript.Expression
Generate.JavaScript.Functions
Generate.JavaScript.Name
Generate.Mode
Nitpick.Debug
Nitpick.PatternMatches
Optimize.Case
Optimize.DecisionTree
Optimize.Expression
Optimize.Module
Optimize.Names
Optimize.Port
Parse.Declaration
Parse.Expression
Parse.Keyword
Parse.Module
Parse.Number
Parse.Pattern
Parse.Shader
Parse.Space
Parse.String
Parse.Symbol
Parse.Type
Parse.Variable
Parse.Primitives
Reporting.Annotation
Reporting.Doc
Reporting.Error
Reporting.Error.Canonicalize
Reporting.Error.Docs
Reporting.Error.Import
Reporting.Error.Json
Reporting.Error.Main
Reporting.Error.Pattern
Reporting.Error.Syntax
Reporting.Error.Type
Reporting.Render.Code
Reporting.Render.Type
Reporting.Render.Type.Localizer
Reporting.Report
Reporting.Result
Reporting.Suggest
Reporting.Warning
Type.Constrain.Expression
Type.Constrain.Module
Type.Constrain.Pattern
Type.Error
Type.Instantiate
Type.Occurs
Type.Solve
Type.Type
Type.Unify
Type.UnionFind
Paths_elm
Build-depends:
ansi-terminal >= 0.8 && < 0.9,
ansi-wl-pprint >= 0.6.8 && < 0.7,
base >=4.11 && <5,
binary >= 0.8 && < 0.9,
bytestring >= 0.9 && < 0.11,
containers >= 0.5.8.2 && < 0.6,
directory >= 1.2.3.0 && < 2.0,
edit-distance >= 0.2 && < 0.3,
file-embed,
filelock,
filepath >= 1 && < 2.0,
ghc-prim >= 0.5.2,
haskeline,
HTTP >= 4000.2.5 && < 4000.4,
http-client >= 0.6 && < 0.7,
http-client-tls >= 0.3 && < 0.4,
http-types >= 0.12 && < 1.0,
language-glsl >= 0.3,
mtl >= 2.2.1 && < 3,
network >= 2.4 && < 2.7,
parsec,
process,
raw-strings-qq,
scientific,
SHA,
snap-core,
snap-server,
template-haskell,
time >= 1.9.1,
unordered-containers,
utf8-string,
vector,
zip-archive