on master help sign in
Move all the compiler code into the compiler/ directory
commit8f7c3cd22b970e2d79e69316f1fd13ba539443ad authorEvan Czaplicki <evancz@users.noreply.github.com> dateWed 21 Feb 2018, 17:46 (9 years ago) parentd985899
95 files changed
elm-compiler.cabal → compiler/elm-compiler.cabal src/AST/Canonical.hs → compiler/src/AST/Canonical.hs src/AST/Module/Name.hs → compiler/src/AST/Module/Name.hs src/AST/Optimized.hs → compiler/src/AST/Optimized.hs src/AST/Source.hs → compiler/src/AST/Source.hs src/AST/Utils/Binop.hs → compiler/src/AST/Utils/Binop.hs src/AST/Utils/Shader.hs → compiler/src/AST/Utils/Shader.hs src/AST/Utils/Type.hs → compiler/src/AST/Utils/Type.hs src/AST/Valid.hs → compiler/src/AST/Valid.hs src/Canonicalize/Effects.hs → compiler/src/Canonicalize/Effects.hs src/Canonicalize/Environment.hs → compiler/src/Canonicalize/Environment.hs src/Canonicalize/Environment/Dups.hs → compiler/src/Canonicalize/Environment/Dups.hs src/Canonicalize/Environment/Foreign.hs → compiler/src/Canonicalize/Environment/Foreign.hs src/Canonicalize/Environment/Local.hs → compiler/src/Canonicalize/Environment/Local.hs src/Canonicalize/Expression.hs → compiler/src/Canonicalize/Expression.hs src/Canonicalize/Module.hs → compiler/src/Canonicalize/Module.hs src/Canonicalize/Pattern.hs → compiler/src/Canonicalize/Pattern.hs src/Canonicalize/Type.hs → compiler/src/Canonicalize/Type.hs src/Compile.hs → compiler/src/Compile.hs src/Data/Bag.hs → compiler/src/Data/Bag.hs src/Data/Index.hs → compiler/src/Data/Index.hs src/Data/OneOrMore.hs → compiler/src/Data/OneOrMore.hs src/Elm/Compiler.hs → compiler/src/Elm/Compiler.hs src/Elm/Compiler/Imports.hs → compiler/src/Elm/Compiler/Imports.hs src/Elm/Compiler/Module.hs → compiler/src/Elm/Compiler/Module.hs src/Elm/Compiler/Objects.hs → compiler/src/Elm/Compiler/Objects.hs src/Elm/Compiler/Type.hs → compiler/src/Elm/Compiler/Type.hs src/Elm/Compiler/Type/Extract.hs → compiler/src/Elm/Compiler/Type/Extract.hs src/Elm/Compiler/Version.hs → compiler/src/Elm/Compiler/Version.hs src/Elm/Docs.hs → compiler/src/Elm/Docs.hs src/Elm/Header.hs → compiler/src/Elm/Header.hs src/Elm/Interface.hs → compiler/src/Elm/Interface.hs src/Elm/Kernel.hs → compiler/src/Elm/Kernel.hs src/Elm/Name.hs → compiler/src/Elm/Name.hs src/Elm/Package.hs → compiler/src/Elm/Package.hs src/Elm/Utils.hs → compiler/src/Elm/Utils.hs src/Generate/JavaScript.hs → compiler/src/Generate/JavaScript.hs src/Generate/JavaScript/Builder.hs → compiler/src/Generate/JavaScript/Builder.hs src/Generate/JavaScript/Expression.hs → compiler/src/Generate/JavaScript/Expression.hs src/Generate/JavaScript/Name.hs → compiler/src/Generate/JavaScript/Name.hs src/Json/Decode.hs → compiler/src/Json/Decode.hs src/Json/Decode/Internals.hs → compiler/src/Json/Decode/Internals.hs src/Json/Encode.hs → compiler/src/Json/Encode.hs src/Nitpick/PatternMatches.hs → compiler/src/Nitpick/PatternMatches.hs src/Optimize/Case.hs → compiler/src/Optimize/Case.hs src/Optimize/DecisionTree.hs → compiler/src/Optimize/DecisionTree.hs src/Optimize/Expression.hs → compiler/src/Optimize/Expression.hs src/Optimize/Module.hs → compiler/src/Optimize/Module.hs src/Optimize/Names.hs → compiler/src/Optimize/Names.hs src/Optimize/Port.hs → compiler/src/Optimize/Port.hs src/Parse/Declaration.hs → compiler/src/Parse/Declaration.hs src/Parse/Expression.hs → compiler/src/Parse/Expression.hs src/Parse/Module.hs → compiler/src/Parse/Module.hs src/Parse/Parse.hs → compiler/src/Parse/Parse.hs src/Parse/Pattern.hs → compiler/src/Parse/Pattern.hs src/Parse/Primitives.hs → compiler/src/Parse/Primitives.hs src/Parse/Primitives/Internals.hs → compiler/src/Parse/Primitives/Internals.hs src/Parse/Primitives/Kernel.hs → compiler/src/Parse/Primitives/Kernel.hs src/Parse/Primitives/Keyword.hs → compiler/src/Parse/Primitives/Keyword.hs src/Parse/Primitives/Number.hs → compiler/src/Parse/Primitives/Number.hs src/Parse/Primitives/Shader.hs → compiler/src/Parse/Primitives/Shader.hs src/Parse/Primitives/Symbol.hs → compiler/src/Parse/Primitives/Symbol.hs src/Parse/Primitives/Utf8.hs → compiler/src/Parse/Primitives/Utf8.hs src/Parse/Primitives/Variable.hs → compiler/src/Parse/Primitives/Variable.hs src/Parse/Primitives/Whitespace.hs → compiler/src/Parse/Primitives/Whitespace.hs src/Parse/Repl.hs → compiler/src/Parse/Repl.hs src/Parse/Shader.hs → compiler/src/Parse/Shader.hs src/Parse/Type.hs → compiler/src/Parse/Type.hs src/Reporting/Annotation.hs → compiler/src/Reporting/Annotation.hs src/Reporting/Error.hs → compiler/src/Reporting/Error.hs src/Reporting/Error/Canonicalize.hs → compiler/src/Reporting/Error/Canonicalize.hs src/Reporting/Error/Docs.hs → compiler/src/Reporting/Error/Docs.hs src/Reporting/Error/Json.hs → compiler/src/Reporting/Error/Json.hs src/Reporting/Error/Main.hs → compiler/src/Reporting/Error/Main.hs src/Reporting/Error/Pattern.hs → compiler/src/Reporting/Error/Pattern.hs src/Reporting/Error/Syntax.hs → compiler/src/Reporting/Error/Syntax.hs src/Reporting/Error/Type.hs → compiler/src/Reporting/Error/Type.hs src/Reporting/Helpers.hs → compiler/src/Reporting/Helpers.hs src/Reporting/Region.hs → compiler/src/Reporting/Region.hs src/Reporting/Render/Code.hs → compiler/src/Reporting/Render/Code.hs src/Reporting/Render/Type.hs → compiler/src/Reporting/Render/Type.hs src/Reporting/Report.hs → compiler/src/Reporting/Report.hs src/Reporting/Result.hs → compiler/src/Reporting/Result.hs src/Reporting/Warning.hs → compiler/src/Reporting/Warning.hs src/Type/Constrain/Expression.hs → compiler/src/Type/Constrain/Expression.hs src/Type/Constrain/Module.hs → compiler/src/Type/Constrain/Module.hs src/Type/Constrain/Pattern.hs → compiler/src/Type/Constrain/Pattern.hs src/Type/Error.hs → compiler/src/Type/Error.hs src/Type/Instantiate.hs → compiler/src/Type/Instantiate.hs src/Type/Occurs.hs → compiler/src/Type/Occurs.hs src/Type/Solve.hs → compiler/src/Type/Solve.hs src/Type/Type.hs → compiler/src/Type/Type.hs src/Type/Unify.hs → compiler/src/Type/Unify.hs src/Type/UnionFind.hs → compiler/src/Type/UnionFind.hs src/Validate.hs → compiler/src/Validate.hs
elm-compiler.cabal → compiler/elm-compiler.cabalrenamed

The content is the same.

src/AST/Canonical.hs → compiler/src/AST/Canonical.hsrenamed

The content is the same.

src/AST/Module/Name.hs → compiler/src/AST/Module/Name.hsrenamed

The content is the same.

src/AST/Optimized.hs → compiler/src/AST/Optimized.hsrenamed

The content is the same.

src/AST/Source.hs → compiler/src/AST/Source.hsrenamed

The content is the same.

src/AST/Utils/Binop.hs → compiler/src/AST/Utils/Binop.hsrenamed

The content is the same.

src/AST/Utils/Shader.hs → compiler/src/AST/Utils/Shader.hsrenamed

The content is the same.

src/AST/Utils/Type.hs → compiler/src/AST/Utils/Type.hsrenamed

The content is the same.

src/AST/Valid.hs → compiler/src/AST/Valid.hsrenamed

The content is the same.

src/Canonicalize/Effects.hs → compiler/src/Canonicalize/Effects.hsrenamed

The content is the same.

src/Canonicalize/Environment.hs → compiler/src/Canonicalize/Environment.hsrenamed

The content is the same.

src/Canonicalize/Environment/Dups.hs → compiler/src/Canonicalize/Environment/Dups.hsrenamed

The content is the same.

src/Canonicalize/Environment/Foreign.hs → compiler/src/Canonicalize/Environment/Foreign.hsrenamed

The content is the same.

src/Canonicalize/Environment/Local.hs → compiler/src/Canonicalize/Environment/Local.hsrenamed

The content is the same.

src/Canonicalize/Expression.hs → compiler/src/Canonicalize/Expression.hsrenamed

The content is the same.

src/Canonicalize/Module.hs → compiler/src/Canonicalize/Module.hsrenamed

The content is the same.

src/Canonicalize/Pattern.hs → compiler/src/Canonicalize/Pattern.hsrenamed

The content is the same.

src/Canonicalize/Type.hs → compiler/src/Canonicalize/Type.hsrenamed

The content is the same.

src/Compile.hs → compiler/src/Compile.hsrenamed

The content is the same.

src/Data/Bag.hs → compiler/src/Data/Bag.hsrenamed

The content is the same.

src/Data/Index.hs → compiler/src/Data/Index.hsrenamed

The content is the same.

src/Data/OneOrMore.hs → compiler/src/Data/OneOrMore.hsrenamed

The content is the same.

src/Elm/Compiler.hs → compiler/src/Elm/Compiler.hsrenamed

The content is the same.

src/Elm/Compiler/Imports.hs → compiler/src/Elm/Compiler/Imports.hsrenamed

The content is the same.

src/Elm/Compiler/Module.hs → compiler/src/Elm/Compiler/Module.hsrenamed

The content is the same.

src/Elm/Compiler/Objects.hs → compiler/src/Elm/Compiler/Objects.hsrenamed

The content is the same.

src/Elm/Compiler/Type.hs → compiler/src/Elm/Compiler/Type.hsrenamed

The content is the same.

src/Elm/Compiler/Type/Extract.hs → compiler/src/Elm/Compiler/Type/Extract.hsrenamed

The content is the same.

src/Elm/Compiler/Version.hs → compiler/src/Elm/Compiler/Version.hsrenamed

The content is the same.

src/Elm/Docs.hs → compiler/src/Elm/Docs.hsrenamed

The content is the same.

src/Elm/Header.hs → compiler/src/Elm/Header.hsrenamed

The content is the same.

src/Elm/Interface.hs → compiler/src/Elm/Interface.hsrenamed

The content is the same.

src/Elm/Kernel.hs → compiler/src/Elm/Kernel.hsrenamed

The content is the same.

src/Elm/Name.hs → compiler/src/Elm/Name.hsrenamed

The content is the same.

src/Elm/Package.hs → compiler/src/Elm/Package.hsrenamed

The content is the same.

src/Elm/Utils.hs → compiler/src/Elm/Utils.hsrenamed

The content is the same.

src/Generate/JavaScript.hs → compiler/src/Generate/JavaScript.hsrenamed

The content is the same.

src/Generate/JavaScript/Builder.hs → compiler/src/Generate/JavaScript/Builder.hsrenamed

The content is the same.

src/Generate/JavaScript/Expression.hs → compiler/src/Generate/JavaScript/Expression.hsrenamed

The content is the same.

src/Generate/JavaScript/Name.hs → compiler/src/Generate/JavaScript/Name.hsrenamed

The content is the same.

src/Json/Decode.hs → compiler/src/Json/Decode.hsrenamed

The content is the same.

src/Json/Decode/Internals.hs → compiler/src/Json/Decode/Internals.hsrenamed

The content is the same.

src/Json/Encode.hs → compiler/src/Json/Encode.hsrenamed

The content is the same.

src/Nitpick/PatternMatches.hs → compiler/src/Nitpick/PatternMatches.hsrenamed

The content is the same.

src/Optimize/Case.hs → compiler/src/Optimize/Case.hsrenamed

The content is the same.

src/Optimize/DecisionTree.hs → compiler/src/Optimize/DecisionTree.hsrenamed

The content is the same.

src/Optimize/Expression.hs → compiler/src/Optimize/Expression.hsrenamed

The content is the same.

src/Optimize/Module.hs → compiler/src/Optimize/Module.hsrenamed

The content is the same.

src/Optimize/Names.hs → compiler/src/Optimize/Names.hsrenamed

The content is the same.

src/Optimize/Port.hs → compiler/src/Optimize/Port.hsrenamed

The content is the same.

src/Parse/Declaration.hs → compiler/src/Parse/Declaration.hsrenamed

The content is the same.

src/Parse/Expression.hs → compiler/src/Parse/Expression.hsrenamed

The content is the same.

src/Parse/Module.hs → compiler/src/Parse/Module.hsrenamed

The content is the same.

src/Parse/Parse.hs → compiler/src/Parse/Parse.hsrenamed

The content is the same.

src/Parse/Pattern.hs → compiler/src/Parse/Pattern.hsrenamed

The content is the same.

src/Parse/Primitives.hs → compiler/src/Parse/Primitives.hsrenamed

The content is the same.

src/Parse/Primitives/Internals.hs → compiler/src/Parse/Primitives/Internals.hsrenamed

The content is the same.

src/Parse/Primitives/Kernel.hs → compiler/src/Parse/Primitives/Kernel.hsrenamed

The content is the same.

src/Parse/Primitives/Keyword.hs → compiler/src/Parse/Primitives/Keyword.hsrenamed

The content is the same.

src/Parse/Primitives/Number.hs → compiler/src/Parse/Primitives/Number.hsrenamed

The content is the same.

src/Parse/Primitives/Shader.hs → compiler/src/Parse/Primitives/Shader.hsrenamed

The content is the same.

src/Parse/Primitives/Symbol.hs → compiler/src/Parse/Primitives/Symbol.hsrenamed

The content is the same.

src/Parse/Primitives/Utf8.hs → compiler/src/Parse/Primitives/Utf8.hsrenamed

The content is the same.

src/Parse/Primitives/Variable.hs → compiler/src/Parse/Primitives/Variable.hsrenamed

The content is the same.

src/Parse/Primitives/Whitespace.hs → compiler/src/Parse/Primitives/Whitespace.hsrenamed

The content is the same.

src/Parse/Repl.hs → compiler/src/Parse/Repl.hsrenamed

The content is the same.

src/Parse/Shader.hs → compiler/src/Parse/Shader.hsrenamed

The content is the same.

src/Parse/Type.hs → compiler/src/Parse/Type.hsrenamed

The content is the same.

src/Reporting/Annotation.hs → compiler/src/Reporting/Annotation.hsrenamed

The content is the same.

src/Reporting/Error.hs → compiler/src/Reporting/Error.hsrenamed

The content is the same.

src/Reporting/Error/Canonicalize.hs → compiler/src/Reporting/Error/Canonicalize.hsrenamed

The content is the same.

src/Reporting/Error/Docs.hs → compiler/src/Reporting/Error/Docs.hsrenamed

The content is the same.

src/Reporting/Error/Json.hs → compiler/src/Reporting/Error/Json.hsrenamed

The content is the same.

src/Reporting/Error/Main.hs → compiler/src/Reporting/Error/Main.hsrenamed

The content is the same.

src/Reporting/Error/Pattern.hs → compiler/src/Reporting/Error/Pattern.hsrenamed

The content is the same.

src/Reporting/Error/Syntax.hs → compiler/src/Reporting/Error/Syntax.hsrenamed

The content is the same.

src/Reporting/Error/Type.hs → compiler/src/Reporting/Error/Type.hsrenamed

The content is the same.

src/Reporting/Helpers.hs → compiler/src/Reporting/Helpers.hsrenamed

The content is the same.

src/Reporting/Region.hs → compiler/src/Reporting/Region.hsrenamed

The content is the same.

src/Reporting/Render/Code.hs → compiler/src/Reporting/Render/Code.hsrenamed

The content is the same.

src/Reporting/Render/Type.hs → compiler/src/Reporting/Render/Type.hsrenamed

The content is the same.

src/Reporting/Report.hs → compiler/src/Reporting/Report.hsrenamed

The content is the same.

src/Reporting/Result.hs → compiler/src/Reporting/Result.hsrenamed

The content is the same.

src/Reporting/Warning.hs → compiler/src/Reporting/Warning.hsrenamed

The content is the same.

src/Type/Constrain/Expression.hs → compiler/src/Type/Constrain/Expression.hsrenamed

The content is the same.

src/Type/Constrain/Module.hs → compiler/src/Type/Constrain/Module.hsrenamed

The content is the same.

src/Type/Constrain/Pattern.hs → compiler/src/Type/Constrain/Pattern.hsrenamed

The content is the same.

src/Type/Error.hs → compiler/src/Type/Error.hsrenamed

The content is the same.

src/Type/Instantiate.hs → compiler/src/Type/Instantiate.hsrenamed

The content is the same.

src/Type/Occurs.hs → compiler/src/Type/Occurs.hsrenamed

The content is the same.

src/Type/Solve.hs → compiler/src/Type/Solve.hsrenamed

The content is the same.

src/Type/Type.hs → compiler/src/Type/Type.hsrenamed

The content is the same.

src/Type/Unify.hs → compiler/src/Type/Unify.hsrenamed

The content is the same.

src/Type/UnionFind.hs → compiler/src/Type/UnionFind.hsrenamed

The content is the same.

src/Validate.hs → compiler/src/Validate.hsrenamed

The content is the same.