/
heist.cabal
191 lines (179 loc) · 5.79 KB
/
heist.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
name: heist
version: 1.0.0.0
synopsis: An Haskell template system supporting both HTML5 and XML.
description:
Heist is a powerful template system that supports both HTML5 and XML.
Some of Heist's features are:
.
* Designer-friendly HTML5 (or XML) syntax
.
* Templates can be reloaded to make changes visible without recompiling
your Haskell code
.
* Enforces near-perfect separation of business logic and view
.
* Powerful abstraction primitives allowing you to eliminate repetition
.
* Easy creation of domain-specific markup languages
.
* Built-in support for including JSON and Markdown content in templates
.
* Simple mechanism for designer-specified template caching
.
* Optional merging of multiple \<head\> tags defined anywhere in the
document
license: BSD3
license-file: LICENSE
author: Doug Beardsley, Gregory Collins
maintainer: snap@snapframework.com
build-type: Simple
cabal-version: >= 1.6
homepage: http://snapframework.com/
category: Web, Snap
extra-source-files:
.ghci,
CONTRIBUTORS,
docs/Makefile,
docs/templates.css,
docs/templates.md,
examples/ex01/home.tpl,
examples/ex01/nav.tpl,
examples/ex02/default.tpl,
examples/ex02/home.tpl,
examples/ex03/default.tpl,
examples/ex03/home.tpl,
examples/test01.tpl,
examples/test02.tpl,
extra/haddock.css,
extra/hscolour.css,
extra/logo.gif,
haddock.sh,
LICENSE,
README.md,
README.SNAP.md,
test/.ghci,
test/heist-testsuite.cabal,
test/README,
test/runTestsAndCoverage.sh,
test/suite/Benchmark.hs,
test/suite/Heist/Compiled/Tests.hs,
test/suite/Heist/Interpreted/Tests.hs,
test/suite/Heist/TestCommon.hs,
test/suite/Heist/Tests.hs,
test/suite/Heist/Tutorial/AttributeSplices.lhs,
test/suite/Heist/Tutorial/CompiledSplices.lhs,
test/suite/Heist/Tutorial/Imports.hs,
test/suite/TestSuite.hs,
test/templates/a.tpl,
test/templates/attr_splice.tpl,
test/templates/attrs.tpl,
test/templates/attrsubtest1.tpl,
test/templates/attrsubtest2.tpl,
test/templates/bar/a.tpl,
test/templates/bar/index.tpl,
test/templates/bind-apply-interaction/_outer.tpl,
test/templates/bind-apply-interaction/caller.tpl,
test/templates/bind-attrs.tpl,
test/templates/bind_param.tpl,
test/templates/cache.tpl,
test/templates/div_expansion.tpl,
test/templates/foo/a.tpl,
test/templates/foo/b.tpl,
test/templates/foo/markdown-chdir.tpl,
test/templates/foo/markdown-origdir.tpl,
test/templates/foo/test2.md,
test/templates/head_merge/index.tpl,
test/templates/head_merge/nav.tpl,
test/templates/head_merge/wrap.tpl,
test/templates/index.tpl,
test/templates/ioc.tpl,
test/templates/json.tpl,
test/templates/json_object.tpl,
test/templates/json_snippet.tpl,
test/templates/markdown.tpl,
test/templates/page.tpl,
test/templates/people.tpl,
test/templates/post.tpl,
test/templates/readme.txt,
test/templates/test.md,
test/templates/textarea_expansion.tpl,
test/templates/title_expansion.tpl,
test/templates/user/admin/main.tpl,
test/templates/user/admin/menu.tpl,
test/templates/user/main.tpl,
test/templates/user/menu.tpl,
test/templates-bad/apply-missing-attr.tpl,
test/templates-bad/apply-template-not-found.tpl,
test/templates-bad/bind-infinite-loop.tpl,
test/templates-bad/bind-missing-attr.tpl,
TODO
Library
hs-source-dirs: src
exposed-modules:
Heist,
Heist.Compiled,
Heist.Compiled.LowLevel,
Heist.Internal.Types,
Heist.Interpreted,
Heist.Splices,
Heist.Splices.Apply,
Heist.Splices.Bind,
Heist.Splices.BindStrict,
Heist.Splices.Cache,
Heist.Splices.Html,
Heist.Splices.Ignore,
Heist.Splices.Json,
Heist.Splices.Markdown,
Heist.TemplateDirectory
other-modules:
Data.HeterogeneousEnvironment,
Heist.Common,
Heist.Compiled.Internal,
Heist.Internal.Types.HeistState,
Heist.Interpreted.Internal
build-depends:
aeson >= 0.6 && < 0.10,
attoparsec >= 0.10 && < 0.14,
base >= 4 && < 5,
blaze-builder >= 0.2 && < 0.5,
blaze-html >= 0.4 && < 0.9,
bytestring >= 0.9 && < 0.11,
containers >= 0.2 && < 0.6,
directory >= 1.1 && < 1.3,
directory-tree >= 0.10 && < 0.13,
dlist >= 0.5 && < 0.8,
filepath >= 1.3 && < 1.5,
hashable >= 1.1 && < 1.3,
lifted-base >= 0.2 && < 0.3,
map-syntax >= 0.2 && < 0.3,
monad-control >= 0.3 && < 1.1,
mtl >= 2.0 && < 2.3,
process >= 1.1 && < 1.3,
random >= 1.0.1.0 && < 1.2,
text >= 0.10 && < 1.3,
time >= 1.1 && < 1.6,
transformers >= 0.3 && < 0.5,
transformers-base >= 0.4 && < 0.5,
unordered-containers >= 0.1.4 && < 0.3,
vector >= 0.9 && < 0.12,
xmlhtml >= 0.2.3 && < 0.3
if impl(ghc >= 6.12.0)
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
-fno-warn-unused-do-bind
else
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
ghc-prof-options: -prof -auto-all
Extensions:
GeneralizedNewtypeDeriving,
PackageImports,
ScopedTypeVariables,
DeriveDataTypeable,
FlexibleInstances,
MultiParamTypeClasses,
UndecidableInstances,
OverloadedStrings,
TypeSynonymInstances,
NoMonomorphismRestriction
source-repository head
type: git
location: https://github.com/snapframework/heist.git