forked from evincarofautumn/kitten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitten.cabal
165 lines (144 loc) · 2.66 KB
/
kitten.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
name: kitten
version: 0.1
cabal-version: >= 1.8
build-type: Simple
license: MIT
license-file: LICENSE.md
copyright: 2012 (C) 2012 Jon Purdy
author: Jon Purdy
maintainer: Jon Purdy <[email protected]>
stability: alpha
homepage: http://kittenlang.org/
bug-reports: https://github.com/evincarofautumn/kitten/issues
synopsis: A minimalistic concatenative programming language.
flag prof
description: Enable profiling
default: False
library
build-depends:
base == 4.*,
bytestring,
containers,
directory,
either,
filepath,
hashable,
parsec,
text,
transformers,
unordered-containers,
vector
ghc-options:
-Wall
-O2
-- http://ghc.haskell.org/trac/ghc/ticket/5550
-fno-spec-constr
if flag(prof)
ghc-options:
-fprof-auto
hs-source-dirs:
lib
exposed-modules:
Kitten.Abbreviation
Kitten.Annotation
Kitten.C
Kitten.ClosedName
Kitten.Compile
Kitten.Config
Kitten.Definition
Kitten.Error
Kitten.Fragment
Kitten.HTML
Kitten.IR
Kitten.Id
Kitten.IdMap
Kitten.Import
Kitten.Infer
Kitten.Infer.Locations
Kitten.Infer.Monad
Kitten.Infer.Scheme
Kitten.Infer.Type
Kitten.Infer.Unify
Kitten.Interpret
Kitten.Intrinsic
Kitten.Kind
Kitten.KindedId
Kitten.Location
Kitten.Name
Kitten.Operator
Kitten.Optimize
Kitten.Parse
Kitten.Parse.Element
Kitten.Parse.Layout
Kitten.Parse.Monad
Kitten.Parse.Primitive
Kitten.Parse.Type
Kitten.Parsec
Kitten.Program
Kitten.Resolve
Kitten.Resolve.Monad
Kitten.Scope
Kitten.Term
Kitten.Token
Kitten.Tokenize
Kitten.Type
Kitten.Type.Tidy
Kitten.TypeDefinition
Kitten.Util.Applicative
Kitten.Util.Either
Kitten.Util.FailWriter
Kitten.Util.Function
Kitten.Util.List
Kitten.Util.Maybe
Kitten.Util.Monad
Kitten.Util.Parsec
Kitten.Util.Set
Kitten.Util.Show
Kitten.Util.Text
Kitten.Util.Tuple
Kitten.Util.Vector
executable kitten
hs-source-dirs:
src
main-is:
Main.hs
ghc-options:
-Wall
if flag(prof)
ghc-options: -auto-all -prof -rtsopts
build-depends:
kitten,
base,
bytestring,
containers,
cmdargs,
directory,
filepath,
haskeline,
parsec,
boxes,
text,
transformers,
unordered-containers,
vector
test-suite test
type:
exitcode-stdio-1.0
hs-source-dirs:
test
main-is:
Test.hs
build-depends:
kitten,
base,
containers,
hspec,
HUnit,
parsec,
QuickCheck,
text,
transformers,
unordered-containers,
vector
ghc-options:
-Wall