forked from faylang/fay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fay.cabal
184 lines (176 loc) · 7.9 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
name: fay
version: 0.15.0.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 <http://fay-lang.org/>
.
/Examples/
.
See the examples directory and <https://github.com/faylang/fay/wiki#fay-in-the-wild>
.
/Release Notes/
.
See <https://github.com/faylang/fay/wiki/Changelog>
.
See full history at: <https://github.com/faylang/fay/wiki/Changelog>
homepage: http://fay-lang.org/
bug-reports: https://github.com/faylang/fay/issues
license: BSD3
license-file: LICENSE
author: Chris Done, Adam Bergmark
maintainer: [email protected]
copyright: 2012 Chris Done, Adam Bergmark
category: Development
build-type: Custom
cabal-version: >=1.8
data-files: js/runtime.js
src/Language/Fay/FFI.hs
extra-source-files: examples/ref.hs examples/alert.hs examples/console.hs examples/dom.hs
examples/tailrecursive.hs examples/data.hs examples/canvaswater.hs
examples/canvaswater.html examples/haskell.png
-- Test cases
tests/ints.hs tests/ints tests/asPatternMatch
tests/caseList.hs tests/Double2.hs
tests/fromInteger tests/List.hs tests/RecCon
tests/recordPatternMatch tests/String.hs
tests/asPatternMatch.hs tests/fromInteger.hs
tests/RecCon.hs tests/recordPatternMatch2
tests/caseWildcard tests/Double3 tests/Monad
tests/recordPatternMatch2.hs tests/tailRecursion
tests/basicFunctions tests/caseWildcard.hs
tests/Double3.hs tests/Monad2 tests/RecDecl
tests/tailRecursion.hs tests/basicFunctions.hs
tests/HierarchicalImport tests/Monad2.hs
tests/RecDecl.hs tests/recordPatternMatch.hs
tests/do tests/Double4 tests/then tests/Bool
tests/doAssingPatternMatch tests/Double4.hs
tests/HierarchicalImport.hs tests/Monad.hs
tests/records tests/then.hs tests/Bool.hs
tests/doAssingPatternMatch.hs
tests/recordFunctionPatternMatch tests/records.hs
tests/Double.hs tests/mutableReference
tests/recordFunctionPatternMatch.hs tests/utf8
tests/case tests/doBindAssign
tests/infixDataConst tests/mutableReference.hs
tests/recordUseBeforeDefine tests/utf8.hs
tests/case2 tests/doBindAssign.hs tests/emptyMain
tests/infixDataConst.hs tests/RecordImport_Export
tests/recordUseBeforeDefine.hs tests/case2.hs
tests/emptyMain.hs tests/patternGuards
tests/RecordImport_Export.hs tests/where
tests/do.hs tests/List tests/patternGuards.hs
tests/reservedWords tests/where.hs tests/case.hs
tests/fix tests/List2 tests/RecordImport_Import
tests/reservedWords.hs tests/Double tests/fix.hs
tests/List2.hs tests/patternMatchFail.hs
tests/RecordImport_Import.hs tests/caseList
tests/Double2 tests/String
tests/Hierarchical/Export.hs
tests/Hierarchical/RecordDefined.hs
tests/Api/Records.hs tests/Api/ImportRecords.hs
tests/Api/CPPTypecheck.hs
tests/serialization.hs tests/serialization
source-repository head
type: git
location: https://github.com/faylang/fay.git
Flag devel
Description: Don't build fay-tests if this flag is supplied
Default: False
library
hs-source-dirs: src
exposed-modules: Fay, Fay.Types, Language.Fay.FFI, Fay.Convert, Fay.Compiler, Fay.Compiler.Debug, Fay.Compiler.Config
other-modules: Fay.Compiler.Print, Control.Monad.IO, System.Process.Extra, Data.List.Extra, Paths_fay, Fay.Compiler.Misc, Fay.Compiler.FFI, Fay.Compiler.Optimizer, Fay.Compiler.Packages, Fay.Compiler.ModuleScope, Control.Monad.Extra, Fay.Compiler.InitialPass, Fay.Compiler.Decl, Fay.Compiler.Defaults, Fay.Compiler.Exp, Fay.Compiler.Pattern, Fay.Compiler.Typecheck, Fay.Compiler.GADT
ghc-options: -O2 -Wall -fno-warn-name-shadowing
build-depends: base >= 4 && < 5,
aeson,
attoparsec,
containers,
data-default,
directory,
filepath,
ghc-paths,
Cabal,
haskell-src-exts,
language-ecmascript >= 0.10,
mtl,
pretty-show,
process,
safe,
syb,
text,
unordered-containers,
utf8-string,
vector
if !flag(devel)
build-depends:
-- Requirements for the executables which
-- `cabal-dev ghci' needs.
HUnit,
bytestring,
time,
optparse-applicative >= 0.5,
split,
test-framework,
test-framework-hunit,
test-framework-th
executable fay
hs-source-dirs: src
ghc-options: -O2 -Wall
ghc-prof-options: -fprof-auto
main-is: Main.hs
build-depends: base >= 4 && < 5,
aeson,
containers,
data-default,
directory,
filepath,
ghc-paths,
Cabal,
haskell-src-exts,
language-ecmascript >= 0.10,
mtl,
process,
safe,
syb,
utf8-string,
haskeline,
optparse-applicative >= 0.5,
split
executable fay-tests
if flag(devel)
buildable: False
hs-source-dirs: src
ghc-options: -O2 -Wall -threaded -with-rtsopts=-N
ghc-prof-options: -fprof-auto
main-is: Tests.hs
other-modules: Fay.Compiler Test.Convert Test.Api Test.CommandLine Test.Util
build-depends: base >= 4 && < 5,
aeson,
attoparsec,
bytestring,
containers,
data-default,
directory,
filepath,
ghc-paths,
Cabal,
haskell-src-exts,
language-ecmascript >= 0.10,
mtl,
pretty-show,
process,
safe,
syb,
text,
unordered-containers,
utf8-string,
vector,
HUnit,
test-framework,
test-framework-hunit,
test-framework-th