-
Notifications
You must be signed in to change notification settings - Fork 89
/
fay.cabal
224 lines (217 loc) · 5.91 KB
/
fay.cabal
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
cabal-version: 2.0
name: fay
version: 0.24.2.0
synopsis: A compiler for Fay, a Haskell subset that compiles to JavaScript.
description: Fay is a proper subset of Haskell which is type-checked
with GHC, and compiled to JavaScript. It is lazy, pure, has a Fay monad,
an FFI, tail-recursion optimization (experimental), and support for cabal packages.
.
/Documentation/
.
See <https://github.com/faylang/fay/wiki>
.
/Examples/
.
See the examples directory and <https://github.com/faylang/fay/wiki#fay-in-the-wild>
.
homepage: https://github.com/faylang/fay/wiki
bug-reports: https://github.com/faylang/fay/issues
license: BSD3
license-file: LICENSE
author: Chris Done, Adam Bergmark
maintainer: adam@bergmark.nl
copyright: 2012 Chris Done, Adam Bergmark
category: Development, Web, Fay
build-type: Custom
Tested-with: GHC ==8.4.4 || ==8.6.5 || ==8.8.3
data-files:
src/Fay/FFI.hs
extra-source-files:
CHANGELOG.md
LICENSE
README.md
src/haskell-names/LICENSE
-- Examples
examples/*.hs
examples/*.html
examples/*.png
-- Test cases
tests/*.hs
tests/*.res
tests/Compile/*.hs
tests/Compile/*.res
tests/FromString/*.hs
tests/FromString/*.res
tests/Hierarchical/*.hs
tests/Hierarchical/*.res
tests/ImportList1/*.hs
tests/ImportList1/*.res
tests/ImportType2I/*.hs
tests/ImportType2I/*.res
tests/Issue215/*.hs
tests/Issue215/*.res
tests/ModuleReExport/*.hs
tests/ModuleReExport/*.res
tests/ModuleRecordClash/*.hs
tests/ModuleRecordClash/*.res
tests/NestedImporting/*.hs
tests/NestedImporting/*.res
tests/NestedImporting2/*.hs
tests/NestedImporting2/*.res
tests/QualifiedImport/*.hs
tests/QualifiedImport/*.res
tests/ReExportGlobally/*.hs
tests/ReExportGlobally/*.res
source-repository head
type: git
location: https://github.com/faylang/fay.git
flag test
description: Build the fay-tests executable
manual: True
default: False
custom-setup
setup-depends:
base
, Cabal
library
default-language: Haskell2010
ghc-options: -O2 -Wall
hs-source-dirs:
src
src/haskell-names
autogen-modules:
Paths_fay
exposed-modules:
Fay
Fay.Compiler
Fay.Compiler.Desugar
Fay.Compiler.Parse
Fay.Compiler.Prelude
Fay.Config
Fay.Convert
Fay.FFI
Fay.Types
Fay.Types.CompileError
Fay.Types.CompileResult
other-modules:
Fay.Compiler.Decl
Fay.Compiler.Defaults
Fay.Compiler.Desugar.Name
Fay.Compiler.Desugar.Types
Fay.Compiler.Exp
Fay.Compiler.FFI
Fay.Compiler.GADT
Fay.Compiler.Import
Fay.Compiler.InitialPass
Fay.Compiler.Misc
Fay.Compiler.ModuleT
Fay.Compiler.Optimizer
Fay.Compiler.Packages
Fay.Compiler.Pattern
Fay.Compiler.PrimOp
Fay.Compiler.Print
Fay.Compiler.QName
Fay.Compiler.State
Fay.Compiler.Typecheck
Fay.Exts
Fay.Exts.NoAnnotation
Fay.Exts.Scoped
Fay.Runtime
Fay.Types.FFI
Fay.Types.Js
Fay.Types.ModulePath
Fay.Types.Printer
Language.Haskell.Names
Language.Haskell.Names.Annotated
Language.Haskell.Names.Exports
Language.Haskell.Names.GetBound
Language.Haskell.Names.GlobalSymbolTable
Language.Haskell.Names.Imports
Language.Haskell.Names.LocalSymbolTable
Language.Haskell.Names.ModuleSymbols
Language.Haskell.Names.Open.Base
Language.Haskell.Names.Open.Derived
Language.Haskell.Names.Open.Instances
Language.Haskell.Names.RecordWildcards
Language.Haskell.Names.Recursive
Language.Haskell.Names.ScopeUtils
Language.Haskell.Names.SyntaxUtils
Language.Haskell.Names.Types
Paths_fay
build-depends:
base >= 4.9 && < 4.15
, base-compat >= 0.10 && < 0.12
, aeson > 0.6 && < 1.6
, bytestring >= 0.9 && < 0.11
, containers >= 0.4 && < 0.7
, data-default >= 0.2 && < 0.8
, data-lens-light == 0.1.*
, directory >= 1.1 && < 1.4
, filepath >= 1.3 && < 1.5
, ghc-paths == 0.1.*
, haskell-src-exts >= 1.20
, language-ecmascript >= 0.15 && < 0.20
, mtl >= 2.1 && < 2.3
, mtl-compat >= 0.1 && < 0.3
, process >= 1.1 && < 1.7
, safe >= 0.2 && < 0.4
, sourcemap == 0.1.*
, split >= 0.1 && < 0.3
, spoon >= 0.1 && < 0.4
, syb >= 0.3 && < 0.8
, text >= 0.11 && < 1.3
, time >= 1.4 && < 1.10
, transformers >= 0.3 && < 0.6
, transformers-compat >= 0.3 && < 0.7
, traverse-with-class >= 1.0 && < 1.1
, uniplate >= 1.6.11 && < 1.7
, unordered-containers == 0.2.*
, utf8-string >= 0.1 && < 1.1
, vector < 0.13
, shakespeare < 2.1
if impl(ghc < 7.8)
build-depends: tagged
executable fay
default-language: Haskell2010
hs-source-dirs: src/main
ghc-options: -O2 -Wall
main-is: Main.hs
build-depends:
base
, fay
, mtl
, optparse-applicative >= 0.11 && < 0.16
, split
other-modules:
Paths_fay
executable fay-tests
default-language: Haskell2010
ghc-options: -O2 -Wall -threaded -with-rtsopts=-N
hs-source-dirs: src/tests
main-is: Tests.hs
if flag(test)
other-modules:
Test.CommandLine
Test.Compile
Test.Convert
Test.Desugar
Test.Util
Paths_fay
build-depends:
base
, aeson
, attoparsec
, bytestring
, containers
, directory
, fay
, filepath
, haskell-src-exts
, random >= 1.0 && < 1.3
, tasty >= 0.9 && < 1.5
, tasty-hunit >= 0.8 && < 0.11
, tasty-th == 0.1.*
, text
, utf8-string
else
buildable: False