summaryrefslogtreecommitdiff
path: root/purescript.cabal
blob: 09c44d4c9301ebf7a5a643c66fffb048b9cbd786 (plain)
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
name: purescript
version: 0.6.9.4
cabal-version: >=1.8
build-type: Simple
license: MIT
license-file: LICENSE
copyright: (c) 2013-14 Phil Freeman, (c) 2014 Gary Burgess, and other contributors
maintainer: Phil Freeman <paf31@cantab.net>
stability: experimental
synopsis: PureScript Programming Language Compiler
description: A small strongly, statically typed programming language with expressive types, inspired by Haskell and compiling to Javascript.
category: Language
Homepage: http://www.purescript.org/
author: Phil Freeman <paf31@cantab.net>,
        Gary Burgess <gary.burgess@gmail.com>,
        Hardy Jones <jones3.hardy@gmail.com>

extra-source-files: prelude/prelude.purs
                  , examples/passing/*.purs
                  , examples/failing/*.purs

source-repository head
    type: git
    location: https://github.com/purescript/purescript.git

library
    build-depends: base >=4.6 && <5,
                   containers -any,
                   unordered-containers -any,
                   directory >= 1.2,
                   filepath -any,
                   mtl >= 2.1.0 && < 2.3.0,
                   parsec -any,
                   transformers >= 0.4.0 && < 0.5,
                   utf8-string >= 1 && < 2,
                   pattern-arrows >= 0.0.2 && < 0.1,
                   file-embed >= 0.0.7 && < 0.0.8,
                   time -any,
                   boxes >= 0.1.4 && < 0.2.0
    exposed-modules: Language.PureScript
                     Language.PureScript.AST
                     Language.PureScript.AST.Binders
                     Language.PureScript.AST.Declarations
                     Language.PureScript.AST.Operators
                     Language.PureScript.AST.SourcePos
                     Language.PureScript.AST.Traversals
                     Language.PureScript.CodeGen
                     Language.PureScript.CodeGen.Externs
                     Language.PureScript.CodeGen.JS
                     Language.PureScript.CodeGen.JS.AST
                     Language.PureScript.CodeGen.JS.Common
                     Language.PureScript.CodeGen.JS.Optimizer
                     Language.PureScript.CodeGen.JS.Optimizer.Blocks
                     Language.PureScript.CodeGen.JS.Optimizer.Common
                     Language.PureScript.CodeGen.JS.Optimizer.Inliner
                     Language.PureScript.CodeGen.JS.Optimizer.MagicDo
                     Language.PureScript.CodeGen.JS.Optimizer.TCO
                     Language.PureScript.CodeGen.JS.Optimizer.Unused
                     Language.PureScript.Constants
                     Language.PureScript.CoreFn
                     Language.PureScript.CoreFn.Ann
                     Language.PureScript.CoreFn.Binders
                     Language.PureScript.CoreFn.Desugar
                     Language.PureScript.CoreFn.Expr
                     Language.PureScript.CoreFn.Literals
                     Language.PureScript.CoreFn.Meta
                     Language.PureScript.CoreFn.Module
                     Language.PureScript.CoreFn.Traversals
                     Language.PureScript.Comments
                     Language.PureScript.DeadCodeElimination
                     Language.PureScript.Environment
                     Language.PureScript.Errors
                     Language.PureScript.Kinds
                     Language.PureScript.ModuleDependencies
                     Language.PureScript.Names
                     Language.PureScript.Options
                     Language.PureScript.Parser
                     Language.PureScript.Parser.Lexer
                     Language.PureScript.Parser.Common
                     Language.PureScript.Parser.Declarations
                     Language.PureScript.Parser.Kinds
                     Language.PureScript.Parser.State
                     Language.PureScript.Parser.Types
                     Language.PureScript.Pretty
                     Language.PureScript.Pretty.Common
                     Language.PureScript.Pretty.JS
                     Language.PureScript.Pretty.Kinds
                     Language.PureScript.Pretty.Types
                     Language.PureScript.Pretty.Values
                     Language.PureScript.Renamer
                     Language.PureScript.Sugar
                     Language.PureScript.Sugar.BindingGroups
                     Language.PureScript.Sugar.CaseDeclarations
                     Language.PureScript.Sugar.DoNotation
                     Language.PureScript.Sugar.Names
                     Language.PureScript.Sugar.ObjectWildcards
                     Language.PureScript.Sugar.Operators
                     Language.PureScript.Sugar.TypeClasses
                     Language.PureScript.Sugar.TypeDeclarations
                     Language.PureScript.Traversals
                     Language.PureScript.TypeChecker
                     Language.PureScript.TypeChecker.Entailment
                     Language.PureScript.TypeChecker.Kinds
                     Language.PureScript.TypeChecker.Monad
                     Language.PureScript.TypeChecker.Rows
                     Language.PureScript.TypeChecker.Skolems
                     Language.PureScript.TypeChecker.Subsumption
                     Language.PureScript.TypeChecker.Synonyms
                     Language.PureScript.TypeChecker.Types
                     Language.PureScript.TypeChecker.Unify
                     Language.PureScript.TypeClassDictionaries
                     Language.PureScript.Types

                     Control.Monad.Unify
                     Control.Monad.Supply
                     Control.Monad.Supply.Class
    exposed: True
    buildable: True
    hs-source-dirs: src
    other-modules: Paths_purescript
    ghc-options: -Wall -O2

executable psc
    build-depends: base >=4 && <5, containers -any, directory -any, filepath -any,
                   mtl -any, optparse-applicative >= 0.10.0, parsec -any, purescript -any,
                   transformers -any
    main-is: Main.hs
    buildable: True
    hs-source-dirs: psc
    other-modules:
    ghc-options: -Wall -O2 -fno-warn-unused-do-bind

executable psc-make
    build-depends: base >=4 && <5, containers -any, directory -any, filepath -any,
                   mtl -any, optparse-applicative >= 0.10.0, parsec -any, purescript -any,
                   transformers -any
    main-is: Main.hs
    buildable: True
    hs-source-dirs: psc-make
    other-modules:
    ghc-options: -Wall -O2 -fno-warn-unused-do-bind

executable psci
    build-depends: base >=4 && <5, containers -any, directory -any, filepath -any,
                   mtl -any, optparse-applicative >= 0.10.0, parsec -any,
                   haskeline >= 0.7.0.0, purescript -any, transformers -any,
                   process -any

    main-is: Main.hs
    buildable: True
    hs-source-dirs: psci psci/main
    other-modules: Types
                   Parser
                   Directive
                   Completion
                   PSCi
    ghc-options: -Wall -O2

executable psc-docs
    build-depends: base >=4 && <5, purescript -any,
                   optparse-applicative >= 0.10.0, process -any, mtl -any
    main-is: Main.hs
    buildable: True
    hs-source-dirs: psc-docs
    other-modules: Ctags
                   Etags
                   Tags
    ghc-options: -Wall -O2

executable psc-hierarchy
    build-depends: base >=4 && <5, purescript -any, optparse-applicative >= 0.10.0,
                   process -any, mtl -any, parsec -any, filepath -any, directory -any
    main-is: Main.hs
    buildable: True
    hs-source-dirs: hierarchy
    other-modules:
    ghc-options: -Wall -O2

test-suite tests
    build-depends: base >=4 && <5, containers -any, directory -any,
                   filepath -any, mtl -any, parsec -any, purescript -any,
                   transformers -any, process -any
    type: exitcode-stdio-1.0
    main-is: Main.hs
    buildable: True
    hs-source-dirs: tests

test-suite psci-tests
    build-depends: base >=4 && <5, containers -any, directory -any, filepath -any,
                   mtl -any, optparse-applicative >= 0.10.0, parsec -any,
                   haskeline >= 0.7.0.0, purescript -any, transformers -any,
                   process -any, HUnit -any
    type: exitcode-stdio-1.0
    main-is: Main.hs
    buildable: True
    hs-source-dirs: psci psci/tests
    ghc-options: -Wall