@@ -1,9 +1,5 @@
1−-- This is a dummy .cabal file that makes it possible to build the
2−-- compiler with GHCi from within emacs. Do not actually use this
3−-- file to install things.
6−Version: 0.8.0.3
2+Version: 0.12
7Synopsis: The Elm language module.
3Synopsis: The Elm language module.
8Description: Elm aims to make client-side web-development more pleasant.
4Description: Elm aims to make client-side web-development more pleasant.
9 It is a statically/strongly typed, functional reactive
5 It is a statically/strongly typed, functional reactive
@@ -18,153 +14,278 @@ License-file: LICENSE
19Author: Evan Czaplicki
15Author: Evan Czaplicki
20Maintainer: info@elm-lang.org
16Maintainer: info@elm-lang.org
21−Copyright: Copyright: (c) 2011-2012 Evan Czaplicki
17+Copyright: Copyright: (c) 2011-2014 Evan Czaplicki
23Category: Compiler, Language
19Category: Compiler, Language
25Build-type: Custom
21Build-type: Custom
27−Extra-source-files: changelog.txt
23+Extra-source-files: changelog.md
28−Data-dir: dist/data
24+Data-dir: data
29−Data-files: elm-runtime.js docs.json
25+Data-files: elm-runtime.js interfaces.data docs.json
30−Cabal-version: >=1.8
26+Cabal-version: >=1.9
32source-repository head
28source-repository head
34 location: git://github.com/evancz/Elm.git
30 location: git://github.com/evancz/Elm.git
37− exposed-modules: Language.Elm,
33+ exposed-modules: Elm.Internal.Dependencies,
38− Language.Elm.Quasi
34+ Elm.Internal.Documentation,
39 Hs-Source-Dirs: compiler
39 Hs-Source-Dirs: compiler
40− other-modules: Unique,
40+ other-modules: AST.Annotation,
42+ AST.Expression.General,
43+ AST.Expression.Source,
44+ AST.Expression.Valid,
45+ AST.Expression.Canonical,
41− SourceSyntax.Helpers,
46+ AST.Helpers,
42− SourceSyntax.Location,
43− SourceSyntax.Literal,
47+ AST.Literal,
44− SourceSyntax.Pattern,
49+ AST.Pattern,
45− SourceSyntax.Expression,
50+ AST.PrettyPrint,
46− SourceSyntax.Declaration,
51+ AST.Type,
47− SourceSyntax.Module,
52+ AST.Variable,
48 Generate.JavaScript,
53 Generate.JavaScript,
49− Generate.Noscript,
54+ Generate.JavaScript.Helpers,
55+ Generate.JavaScript.Ports,
50 Generate.Html,
57 Generate.Html,
51 Generate.Cases,
58 Generate.Cases,
59+ Transform.Canonicalize,
61+ Transform.Expression,
62+ Transform.Declaration,
63+ Transform.Definition,
64+ Transform.SortDefinitions,
52 Transform.Substitute,
65 Transform.Substitute,
54− Metadata.Libraries,
66+ Metadata.Prelude,
55− Metadata.LoadLibraries,
57 Parse.Binop,
67 Parse.Binop,
58 Parse.Expression,
69 Parse.Expression,
60 Parse.Helpers,
70 Parse.Helpers,
61 Parse.Module,
72 Parse.Module,
62− Parse.Parser,
73+ Parse.Parse,
63 Parse.Pattern,
74 Parse.Pattern,
64 Parse.Type,
75 Parse.Type,
65− Types.Alias,
76+ Type.Alias,
66− Types.Types,
77+ Type.Constrain.Expression,
78+ Type.Constrain.Literal,
67− Types.Constrain,
79+ Type.Constrain.Pattern,
68− Types.Hints,
80+ Type.Environment,
69− Types.Solver,
81+ Type.ExtraChecks,
70− Types.Substitutions,
82+ Type.Fragment,
71− Types.Unify,
88+ Type.Unify,
74− Build-depends: base >=4.2 && <5,
98+ Build-depends: aeson,
101+ blaze-html >= 0.5 && < 0.8,
75 containers >= 0.3,
105 containers >= 0.3,
76− transformers >= 0.2,
106+ directory,
109+ language-ecmascript >=0.15 && < 1.0,
77 mtl >= 2,
111 mtl >= 2,
78− deepseq,
112+ pandoc >= 1.10,
79 parsec >= 3.1.1,
113 parsec >= 3.1.1,
80− blaze-html == 0.5.* || == 0.6.*,
114+ pretty,
81− blaze-markup == 0.5.1.*,
83− shakespeare >= 1,
116+ transformers >= 0.2,
84− template-haskell,
117+ union-find,
85− pandoc >= 1.10,
118+ unordered-containers
94Executable elm
120Executable elm
95 Main-is: Compiler.hs
121 Main-is: Compiler.hs
122+ ghc-options: -threaded -O2
96 Hs-Source-Dirs: compiler
123 Hs-Source-Dirs: compiler
97− other-modules: Unique,
124+ other-modules: AST.Annotation,
126+ AST.Expression.General,
127+ AST.Expression.Source,
128+ AST.Expression.Valid,
129+ AST.Expression.Canonical,
98− SourceSyntax.Helpers,
130+ AST.Helpers,
99− SourceSyntax.Location,
100− SourceSyntax.Literal,
131+ AST.Literal,
101− SourceSyntax.Pattern,
133+ AST.Pattern,
102− SourceSyntax.Expression,
134+ AST.PrettyPrint,
103− SourceSyntax.Declaration,
135+ AST.Type,
104− SourceSyntax.Module,
136+ AST.Variable,
105 Generate.JavaScript,
137 Generate.JavaScript,
106− Generate.Noscript,
138+ Generate.JavaScript.Helpers,
139+ Generate.JavaScript.Ports,
107 Generate.Html,
141 Generate.Html,
108 Generate.Cases,
142 Generate.Cases,
143+ Transform.Canonicalize,
145+ Transform.Expression,
146+ Transform.Declaration,
147+ Transform.Definition,
148+ Transform.SortDefinitions,
109 Transform.Substitute,
149 Transform.Substitute,
111− Metadata.Libraries,
150+ Metadata.Prelude,
112− Metadata.LoadLibraries,
114 Parse.Binop,
151 Parse.Binop,
115 Parse.Expression,
153 Parse.Expression,
117 Parse.Helpers,
154 Parse.Helpers,
118 Parse.Module,
156 Parse.Module,
119− Parse.Parser,
157+ Parse.Parse,
120 Parse.Pattern,
158 Parse.Pattern,
121 Parse.Type,
159 Parse.Type,
122− Types.Alias,
160+ Type.Alias,
123− Types.Types,
161+ Type.Constrain.Expression,
162+ Type.Constrain.Literal,
124− Types.Constrain,
163+ Type.Constrain.Pattern,
125− Types.Hints,
164+ Type.Environment,
126− Types.Solver,
165+ Type.ExtraChecks,
127− Types.Substitutions,
166+ Type.Fragment,
128− Types.Unify,
172+ Type.Unify,
129 Paths_Elm
180 Paths_Elm
131− Build-depends: base >=4.2 && <5,
182+ Build-depends: aeson,
185+ blaze-html >= 0.5 && < 0.8,
132 containers >= 0.3,
189 containers >= 0.3,
133− transformers >= 0.2,
190+ directory,
193+ language-ecmascript >=0.15 && < 1.0,
134 mtl >= 2,
195 mtl >= 2,
137− blaze-html == 0.5.* || == 0.6.*,
138− blaze-markup == 0.5.1.*,
140 pandoc >= 1.10,
196 pandoc >= 1.10,
141− bytestring,
197+ parsec >= 3.1.1,
142− uniplate,
198+ pretty,
144− indents,
200+ transformers >= 0.2,
145− filepath,
201+ union-find,
146− json,
202+ unordered-containers
149Executable elm-doc
204Executable elm-doc
150 Main-is: Docs.hs
205 Main-is: Docs.hs
151 Hs-Source-Dirs: compiler
206 Hs-Source-Dirs: compiler
152− other-modules: SourceSyntax.Helpers,
207+ other-modules: AST.Annotation,
153− SourceSyntax.Location,
208+ AST.Declaration,
209+ AST.Expression.General,
154− SourceSyntax.Literal,
211+ AST.Literal,
155− SourceSyntax.Pattern,
156− SourceSyntax.Expression,
157− SourceSyntax.Declaration,
158− SourceSyntax.Module,
212+ AST.Module,
159 Parse.Helpers,
220 Parse.Helpers,
160− Parse.Module
222+ Parse.Module,
162− Build-depends: base >=4.2 && <5,
226+ Build-depends: aeson,
163 containers >= 0.3,
232 containers >= 0.3,
164− transformers >= 0.2,
233+ directory,
165 mtl >= 2,
237 mtl >= 2,
167 pandoc >= 1.10,
238 pandoc >= 1.10,
244+Test-Suite compiler-tests
245+ Type: exitcode-stdio-1.0
246+ Hs-Source-Dirs: tests/hs, compiler
247+ Main-is: CompilerTest.hs
248+ other-modules: Tests.Compiler
250+ Tests.Property.Arbitrary
254+ build-depends: test-framework,
255+ test-framework-hunit,
256+ test-framework-quickcheck2 >= 0.3,
258+ QuickCheck >= 2 && < 3,
262+ blaze-html == 0.5.* || == 0.6.*,
263+ blaze-markup == 0.5.1.*,
168− cmdargs,
265+ cmdargs,
169− filepath,
270+ filepath,
170− indents
271+ indents,
272+ language-ecmascript >=0.15 && < 1.0,
279+ transformers >= 0.2,
281+ unordered-containers
284+ Type: exitcode-stdio-1.0
285+ Hs-Source-Dirs: tests/hs
287+ build-depends: base,