packages feed

Elm-0.13: Elm.cabal

Name:                Elm
Version:             0.13
Synopsis:            The Elm language module.
Description:         Elm aims to make client-side web-development more pleasant.
                     It is a statically/strongly typed, functional reactive
                     language to HTML, CSS, and JS. This package provides a
                     library for Elm compilation in Haskell and a compiler
                     executable.

Homepage:            http://elm-lang.org

License:             BSD3
License-file:        LICENSE

Author:              Evan Czaplicki
Maintainer:          info@elm-lang.org
Copyright:           Copyright: (c) 2011-2014 Evan Czaplicki

Category:            Compiler, Language

Build-type:          Simple

Extra-source-files:  changelog.md
Data-dir:            data
Data-files:          elm-runtime.js interfaces.data docs.json
Cabal-version:       >=1.9

source-repository head
  type:     git
  location: git://github.com/elm-lang/Elm.git

Library
  exposed-modules:     Elm.Internal.Dependencies,
                       Elm.Internal.Documentation,
                       Elm.Internal.Name,
                       Elm.Internal.Paths,
                       Elm.Internal.Utils,
                       Elm.Internal.Version
  Hs-Source-Dirs:      compiler
  other-modules:       AST.Annotation,
                       AST.Declaration,
                       AST.Expression.General,
                       AST.Expression.Source,
                       AST.Expression.Valid,
                       AST.Expression.Canonical,
                       AST.Helpers,
                       AST.Literal,
                       AST.Module,
                       AST.Pattern,
                       AST.PrettyPrint,
                       AST.Type,
                       AST.Variable,
                       Generate.JavaScript,
                       Generate.JavaScript.Helpers,
                       Generate.JavaScript.Ports,
                       Generate.JavaScript.Variable,
                       Generate.Markdown,
                       Generate.Html,
                       Generate.Cases,
                       Transform.Canonicalize,
                       Transform.Canonicalize.Environment,
                       Transform.Canonicalize.Setup,
                       Transform.Canonicalize.Type,
                       Transform.Canonicalize.Variable,
                       Transform.Check,
                       Transform.Expression,
                       Transform.Declaration,
                       Transform.Definition,
                       Transform.Interface,
                       Transform.SortDefinitions,
                       Transform.Substitute,
                       Metadata.Prelude,
                       Parse.Binop,
                       Parse.Declaration,
                       Parse.Expression,
                       Parse.Helpers,
                       Parse.Literal,
                       Parse.Module,
                       Parse.Parse,
                       Parse.Pattern,
                       Parse.Type,
                       Type.Constrain.Expression,
                       Type.Constrain.Literal,
                       Type.Constrain.Pattern,
                       Type.Environment,
                       Type.ExtraChecks,
                       Type.Fragment,
                       Type.Inference,
                       Type.PrettyPrint,
                       Type.Solve,
                       Type.State,
                       Type.Type,
                       Type.Unify,
                       Build.Dependencies,
                       Build.File,
                       Build.Flags,
                       Build.Interface,
                       Build.Print,
                       Build.Source,
                       Build.Utils,
                       Paths_Elm

  Build-depends:       aeson >= 0.7 && < 0.9,
                       aeson-pretty >= 0.7 && < 0.8,
                       base >=4.2 && <5,
                       binary >= 0.7.0.0 && < 0.8,
                       blaze-html >= 0.5 && < 0.8,
                       blaze-markup >= 0.5.1 && < 0.7,
                       bytestring >= 0.9 && < 0.11,
                       cheapskate >= 0.1 && < 0.2,
                       cmdargs >= 0.7 && < 0.11,
                       containers >= 0.3 && < 0.6,
                       directory >= 1.0 && < 2.0,
                       filepath >= 1 && < 2.0,
                       highlighting-kate >= 0.5 && < 0.6,
                       indents >= 0.3 && < 0.4,
                       language-ecmascript >=0.15 && < 0.17,
                       language-glsl >= 0.0.2 && < 0.2,
                       mtl >= 2 && < 3,
                       parsec >= 3.1.1 && < 3.5,
                       pretty >= 1.0 && < 2.0,
                       text >= 1 && < 2,
                       transformers >= 0.2 && < 0.5,
                       union-find >= 0.2 && < 0.3,
                       unordered-containers >= 0.1 && < 0.3

Executable elm
  Main-is:             Compiler.hs
  ghc-options:         -threaded -O2
  Hs-Source-Dirs:      compiler
  other-modules:       AST.Annotation,
                       AST.Declaration,
                       AST.Expression.General,
                       AST.Expression.Source,
                       AST.Expression.Valid,
                       AST.Expression.Canonical,
                       AST.Helpers,
                       AST.Literal,
                       AST.Module,
                       AST.Pattern,
                       AST.PrettyPrint,
                       AST.Type,
                       AST.Variable,
                       Generate.JavaScript,
                       Generate.JavaScript.Helpers,
                       Generate.JavaScript.Ports,
                       Generate.JavaScript.Variable,
                       Generate.Markdown,
                       Generate.Html,
                       Generate.Cases,
                       Transform.Canonicalize,
                       Transform.Canonicalize.Environment,
                       Transform.Canonicalize.Setup,
                       Transform.Canonicalize.Type,
                       Transform.Canonicalize.Variable,
                       Transform.Check,
                       Transform.Expression,
                       Transform.Declaration,
                       Transform.Definition,
                       Transform.Interface,
                       Transform.SortDefinitions,
                       Transform.Substitute,
                       Metadata.Prelude,
                       Parse.Binop,
                       Parse.Declaration,
                       Parse.Expression,
                       Parse.Helpers,
                       Parse.Literal,
                       Parse.Module,
                       Parse.Parse,
                       Parse.Pattern,
                       Parse.Type,
                       Type.Constrain.Expression,
                       Type.Constrain.Literal,
                       Type.Constrain.Pattern,
                       Type.Environment,
                       Type.ExtraChecks,
                       Type.Fragment,
                       Type.Inference,
                       Type.PrettyPrint,
                       Type.Solve,
                       Type.State,
                       Type.Type,
                       Type.Unify,
                       Build.Dependencies,
                       Build.File,
                       Build.Flags,
                       Build.Interface,
                       Build.Print,
                       Build.Source,
                       Build.Utils,
                       Paths_Elm

  Build-depends:       aeson >= 0.7 && < 0.9,
                       aeson-pretty >= 0.7 && < 0.8,
                       base >=4.2 && <5,
                       binary >= 0.7.0.0 && < 0.8,
                       blaze-html >= 0.5 && < 0.8,
                       blaze-markup >= 0.5.1 && < 0.7,
                       bytestring >= 0.9 && < 0.11,
                       cheapskate >= 0.1 && < 0.2,
                       cmdargs >= 0.7 && < 0.11,
                       containers >= 0.3 && < 0.6,
                       directory >= 1.0 && < 2.0,
                       filepath >= 1 && < 2.0,
                       highlighting-kate >= 0.5 && < 0.6,
                       indents >= 0.3 && < 0.4,
                       language-ecmascript >=0.15 && < 0.17,
                       language-glsl >= 0.0.2 && < 0.2,
                       mtl >= 2 && < 3,
                       parsec >= 3.1.1 && < 3.5,
                       pretty >= 1.0 && < 2.0,
                       text >= 1 && < 2,
                       transformers >= 0.2 && < 0.5,
                       union-find >= 0.2 && < 0.3,
                       unordered-containers >= 0.1 && < 0.3

Executable elm-doc
  Main-is:             Docs.hs
  Hs-Source-Dirs:      compiler
  other-modules:       AST.Annotation,
                       AST.Declaration,
                       AST.Expression.General,
                       AST.Helpers,
                       AST.Literal,
                       AST.Module,
                       AST.Pattern,
                       AST.PrettyPrint,
                       AST.Type,
                       AST.Variable,
                       Parse.Binop,
                       Parse.Declaration,
                       Parse.Expression,
                       Parse.Helpers,
                       Parse.Literal,
                       Parse.Module,
                       Parse.Pattern,
                       Parse.Type

  Build-depends:       aeson >= 0.7 && < 0.9,
                       aeson-pretty >= 0.7 && < 0.8,
                       base >=4.2 && <5,
                       binary >= 0.7.0.0 && < 0.8,
                       bytestring >= 0.9 && < 0.11,
                       cmdargs >= 0.7 && < 0.11,
                       containers >= 0.3 && < 0.6,
                       directory >= 1.0 && < 2.0,
                       filepath >= 1 && < 2.0,
                       indents >= 0.3 && < 0.4,
                       language-glsl >= 0.0.2 && < 0.2,
                       mtl >= 2 && < 3,
                       parsec >= 3.1.1 && < 3.5,
                       pretty >= 1.0 && < 2.0,
                       text >= 1 && < 2,
                       transformers >= 0.2 && < 0.5,
                       union-find >= 0.2 && < 0.3

Test-Suite compiler-tests
  Type:            exitcode-stdio-1.0
  Hs-Source-Dirs:  tests/compiler, compiler
  Main-is:         CompilerTest.hs
  other-modules:   Tests.Compiler
                   Tests.Property
                   Tests.Property.Arbitrary
                   AST.Helpers
                   AST.Literal
                   AST.PrettyPrint
  build-depends:   test-framework > 0.8 && < 0.9,
                   test-framework-hunit >= 0.3 && < 0.4,
                   test-framework-quickcheck2 >= 0.3 && < 0.4,
                   HUnit >= 1.1 && < 2,
                   QuickCheck >= 2 && < 3,
                   aeson >= 0.7 && < 0.9,
                   aeson-pretty >= 0.7 && < 0.8,
                   base >=4.2 && <5,
                   binary >= 0.7.0.0 && < 0.8,
                   blaze-html >= 0.5 && < 0.8,
                   blaze-markup >= 0.5.1 && < 0.7,
                   bytestring >= 0.9 && < 0.11,
                   cheapskate >= 0.1 && < 0.2,
                   cmdargs >= 0.7 && < 0.11,
                   containers >= 0.3 && < 0.6,
                   directory >= 1.0 && < 2.0,
                   Elm,
                   filemanip >= 0.3.5 && < 0.4,
                   filepath >= 1 && < 2.0,
                   highlighting-kate >= 0.5 && < 0.6,
                   indents >= 0.3 && < 0.4,
                   language-ecmascript >=0.15 && < 0.17,
                   language-glsl >= 0.0.2 && < 0.2,
                   mtl >= 2 && < 3,
                   parsec >= 3.1.1 && < 3.5,
                   pretty >= 1.0 && < 2.0,
                   process,
                   text >= 1 && < 2,
                   transformers >= 0.2 && < 0.5,
                   union-find >= 0.2 && < 0.3,
                   unordered-containers >= 0.1 && < 0.3

Test-Suite library-tests
  Type:            exitcode-stdio-1.0
  Hs-Source-Dirs:  tests/libraries
  Main-is:         LibraryTest.hs
  build-depends:   base >= 4.2 && <5,
                   directory >= 1.0 && < 2.0,
                   Elm,
                   filepath >= 1 && < 2.0,
                   process >= 1 && < 2.0