on master help sign in
SourceSyntax/ => AST/ and get rid of dead files
4799b34Evan Czaplicki
Elm.cabal+39−37
@@ -37,16 +37,19 @@ Library
37 Elm.Internal.Utils,
37 Elm.Internal.Utils,
38 Elm.Internal.Version
38 Elm.Internal.Version
39 Hs-Source-Dirs: compiler
39 Hs-Source-Dirs: compiler
40− other-modules: SourceSyntax.Annotation,
40+ other-modules: AST.Annotation,
41− SourceSyntax.Declaration,
41+ AST.Declaration,
42+ AST.Expression.General,
43+ AST.Expression.Source,
42− SourceSyntax.Expression,
44+ AST.Expression.Valid,
45+ AST.Expression.Canonical,
43− SourceSyntax.Helpers,
46+ AST.Helpers,
44− SourceSyntax.Literal,
47+ AST.Literal,
45− SourceSyntax.Module,
48+ AST.Module,
46− SourceSyntax.Pattern,
49+ AST.Pattern,
47− SourceSyntax.PrettyPrint,
50+ AST.PrettyPrint,
48− SourceSyntax.Type,
51+ AST.Type,
49− SourceSyntax.Variable,
52+ AST.Variable,
50 Generate.JavaScript,
53 Generate.JavaScript,
51 Generate.JavaScript.Helpers,
54 Generate.JavaScript.Helpers,
52 Generate.JavaScript.Ports,
55 Generate.JavaScript.Ports,
@@ -58,7 +61,6 @@ Library
58 Transform.Expression,
61 Transform.Expression,
59 Transform.Declaration,
62 Transform.Declaration,
60 Transform.Definition,
63 Transform.Definition,
61− Transform.SafeNames,
62 Transform.SortDefinitions,
64 Transform.SortDefinitions,
63 Transform.Substitute,
65 Transform.Substitute,
64 Metadata.Prelude,
66 Metadata.Prelude,
@@ -72,7 +74,6 @@ Library
72 Parse.Pattern,
74 Parse.Pattern,
73 Parse.Type,
75 Parse.Type,
74 Type.Alias,
76 Type.Alias,
75− Type.Constrain.Declaration,
76 Type.Constrain.Expression,
77 Type.Constrain.Expression,
77 Type.Constrain.Literal,
78 Type.Constrain.Literal,
78 Type.Constrain.Pattern,
79 Type.Constrain.Pattern,
@@ -119,16 +120,19 @@ Executable elm
119 Main-is: Compiler.hs
120 Main-is: Compiler.hs
120 ghc-options: -threaded -O2
121 ghc-options: -threaded -O2
121 Hs-Source-Dirs: compiler
122 Hs-Source-Dirs: compiler
122− other-modules: SourceSyntax.Annotation,
123+ other-modules: AST.Annotation,
123− SourceSyntax.Declaration,
124+ AST.Declaration,
125+ AST.Expression.General,
126+ AST.Expression.Source,
124− SourceSyntax.Expression,
127+ AST.Expression.Valid,
128+ AST.Expression.Canonical,
125− SourceSyntax.Helpers,
129+ AST.Helpers,
126− SourceSyntax.Literal,
130+ AST.Literal,
127− SourceSyntax.Module,
131+ AST.Module,
128− SourceSyntax.Pattern,
132+ AST.Pattern,
129− SourceSyntax.PrettyPrint,
133+ AST.PrettyPrint,
130− SourceSyntax.Type,
134+ AST.Type,
131− SourceSyntax.Variable,
135+ AST.Variable,
132 Generate.JavaScript,
136 Generate.JavaScript,
133 Generate.JavaScript.Helpers,
137 Generate.JavaScript.Helpers,
134 Generate.JavaScript.Ports,
138 Generate.JavaScript.Ports,
@@ -140,7 +144,6 @@ Executable elm
140 Transform.Expression,
144 Transform.Expression,
141 Transform.Declaration,
145 Transform.Declaration,
142 Transform.Definition,
146 Transform.Definition,
143− Transform.SafeNames,
144 Transform.SortDefinitions,
147 Transform.SortDefinitions,
145 Transform.Substitute,
148 Transform.Substitute,
146 Metadata.Prelude,
149 Metadata.Prelude,
@@ -154,7 +157,6 @@ Executable elm
154 Parse.Pattern,
157 Parse.Pattern,
155 Parse.Type,
158 Parse.Type,
156 Type.Alias,
159 Type.Alias,
157− Type.Constrain.Declaration,
158 Type.Constrain.Expression,
160 Type.Constrain.Expression,
159 Type.Constrain.Literal,
161 Type.Constrain.Literal,
160 Type.Constrain.Pattern,
162 Type.Constrain.Pattern,
@@ -200,16 +202,16 @@ Executable elm
200Executable elm-doc
202Executable elm-doc
201 Main-is: Docs.hs
203 Main-is: Docs.hs
202 Hs-Source-Dirs: compiler
204 Hs-Source-Dirs: compiler
203− other-modules: SourceSyntax.Annotation,
205+ other-modules: AST.Annotation,
204− SourceSyntax.Declaration,
206+ AST.Declaration,
205− SourceSyntax.Expression,
207+ AST.Expression.General,
206− SourceSyntax.Helpers,
208+ AST.Helpers,
207− SourceSyntax.Literal,
209+ AST.Literal,
208− SourceSyntax.Module,
210+ AST.Module,
209− SourceSyntax.Pattern,
211+ AST.Pattern,
210− SourceSyntax.PrettyPrint,
212+ AST.PrettyPrint,
211− SourceSyntax.Type,
213+ AST.Type,
212− SourceSyntax.Variable,
214+ AST.Variable,
213 Parse.Binop,
215 Parse.Binop,
214 Parse.Declaration,
216 Parse.Declaration,
215 Parse.Expression,
217 Parse.Expression,
@@ -243,9 +245,9 @@ Test-Suite compiler-tests
243 other-modules: Tests.Compiler
245 other-modules: Tests.Compiler
244 Tests.Property
246 Tests.Property
245 Tests.Property.Arbitrary
247 Tests.Property.Arbitrary
246− SourceSyntax.Helpers
248+ AST.Helpers
247− SourceSyntax.Literal
249+ AST.Literal
248− SourceSyntax.PrettyPrint
250+ AST.PrettyPrint
249 build-depends: base,
251 build-depends: base,
250 directory,
252 directory,
251 Elm,
253 Elm,