forked from jgm/highlighting-kate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhighlighting-kate.cabal
281 lines (276 loc) · 12.1 KB
/
highlighting-kate.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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
Name: highlighting-kate
Version: 0.5.3.8
Cabal-Version: >= 1.10
Build-Type: Simple
Category: Text
Synopsis: Syntax highlighting
Description: highlighting-kate is a syntax highlighting library
with support for nearly one hundred languages. The syntax
parsers are automatically generated from Kate
syntax descriptions (<http://kate-editor.org/>),
so any syntax supported by Kate can be added.
An (optional) command-line program is provided, along
with a utility for generating new parsers from Kate
XML syntax descriptions.
License: GPL
License-file: LICENSE
Author: John MacFarlane
Maintainer: [email protected]
Homepage: http://github.com/jgm/highlighting-kate
Extra-Source-Files: README
changelog
ParseSyntaxFiles.hs
Text/Highlighting/Kate/Syntax.hs.in
css/hk-espresso.css
css/hk-kate.css
css/hk-pyg.css
xml/actionscript.xml
xml/ada.xml
xml/alert.xml
xml/alert_indent.xml
xml/apache.xml
xml/asn1.xml
xml/asp.xml
xml/awk.xml
xml/bash.xml
xml/bash.xml.bkp
xml/bibtex.xml
xml/boo.xml
xml/c.xml
xml/changelog.xml
xml/clojure.xml
xml/cmake.xml
xml/coffee.xml
xml/coldfusion.xml
xml/commonlisp.xml
xml/cpp.xml
xml/cs.xml
xml/css.xml
xml/curry.xml
xml/d.xml
xml/diff.xml
xml/djangotemplate.xml
xml/doxygen.xml
xml/doxygenlua.xml
xml/dtd.xml
xml/eiffel.xml
xml/email.xml
xml/erlang.xml
xml/fortran.xml
xml/fsharp.xml
xml/gnuassembler.xml
xml/go.xml
xml/haskell.xml
xml/haxe.xml
xml/html.xml
xml/ini.xml
xml/java.xml
xml/javadoc.xml
xml/javascript.xml
xml/javascript.xml.bkp
xml/json.xml
xml/jsp.xml
xml/julia.xml
xml/language.dtd
xml/latex.xml
xml/lex.xml
xml/literate-curry.xml
xml/literate-haskell.xml
xml/lua.xml
xml/makefile.xml
xml/mandoc.xml
xml/matlab.xml
xml/maxima.xml
xml/metafont.xml
xml/mips.xml
xml/modula-2.xml
xml/modula-3.xml
xml/monobasic.xml
xml/nasm.xml
xml/noweb.xml
xml/objectivec.xml
xml/objectivecpp.xml
xml/ocaml.xml
xml/octave.xml
xml/pascal.xml
xml/perl.xml
xml/perl.xml.bkp
xml/php.xml
xml/pike.xml
xml/postscript.xml
xml/prolog.xml
xml/python.xml
xml/r.xml
xml/relaxngcompact.xml
xml/rhtml.xml
xml/ruby.xml
xml/rust.xml
xml/scala.xml
xml/scheme.xml
xml/sci.xml
xml/sed.xml
xml/sgml.xml
xml/sql-mysql.xml
xml/sql-postgresql.xml
xml/sql.xml
xml/tcl.xml
xml/texinfo.xml
xml/verilog.xml
xml/vhdl.xml
xml/xml.xml
xml/xorg.xml
xml/xslt.xml
xml/xul.xml
xml/yacc.xml
xml/yaml.xml
Flag splitBase
Description: Choose the new, smaller, split-up base package.
Default: True
Flag executable
Description: Build the Highlight executable.
Default: False
Flag pcre-light
Description: Use the pcre-light library instead of regex-pcre-builtin
Default: False
Source-repository head
type: git
location: git://github.com/jgm/highlighting-kate.git
Library
if flag(splitBase)
Build-Depends: base >= 3 && < 5, containers
else
Build-Depends: base < 3
if flag(pcre-light)
Build-depends: pcre-light >= 0.4 && < 0.5
cpp-options: -D_PCRE_LIGHT
else
Build-depends: regex-pcre-builtin
Build-Depends: parsec, mtl, blaze-html >= 0.4.2 && < 0.7
Exposed-Modules: Text.Highlighting.Kate
Text.Highlighting.Kate.Syntax
Text.Highlighting.Kate.Types
Text.Highlighting.Kate.Styles
Text.Highlighting.Kate.Format.HTML
Text.Highlighting.Kate.Format.LaTeX
Other-Modules: Text.Highlighting.Kate.Common
Paths_highlighting_kate
Text.Highlighting.Kate.Syntax.Actionscript
Text.Highlighting.Kate.Syntax.Ada
Text.Highlighting.Kate.Syntax.Alert
Text.Highlighting.Kate.Syntax.Alert_indent
Text.Highlighting.Kate.Syntax.Apache
Text.Highlighting.Kate.Syntax.Asn1
Text.Highlighting.Kate.Syntax.Asp
Text.Highlighting.Kate.Syntax.Awk
Text.Highlighting.Kate.Syntax.Bash
Text.Highlighting.Kate.Syntax.Bibtex
Text.Highlighting.Kate.Syntax.Boo
Text.Highlighting.Kate.Syntax.C
Text.Highlighting.Kate.Syntax.Changelog
Text.Highlighting.Kate.Syntax.Clojure
Text.Highlighting.Kate.Syntax.Cmake
Text.Highlighting.Kate.Syntax.Coffee
Text.Highlighting.Kate.Syntax.Coldfusion
Text.Highlighting.Kate.Syntax.Commonlisp
Text.Highlighting.Kate.Syntax.Cpp
Text.Highlighting.Kate.Syntax.Cs
Text.Highlighting.Kate.Syntax.Css
Text.Highlighting.Kate.Syntax.Curry
Text.Highlighting.Kate.Syntax.D
Text.Highlighting.Kate.Syntax.Diff
Text.Highlighting.Kate.Syntax.Djangotemplate
Text.Highlighting.Kate.Syntax.Doxygen
Text.Highlighting.Kate.Syntax.Doxygenlua
Text.Highlighting.Kate.Syntax.Dtd
Text.Highlighting.Kate.Syntax.Eiffel
Text.Highlighting.Kate.Syntax.Email
Text.Highlighting.Kate.Syntax.Erlang
Text.Highlighting.Kate.Syntax.Fortran
Text.Highlighting.Kate.Syntax.Fsharp
Text.Highlighting.Kate.Syntax.Gnuassembler
Text.Highlighting.Kate.Syntax.Go
Text.Highlighting.Kate.Syntax.Haskell
Text.Highlighting.Kate.Syntax.Haxe
Text.Highlighting.Kate.Syntax.Html
Text.Highlighting.Kate.Syntax.Ini
Text.Highlighting.Kate.Syntax.Java
Text.Highlighting.Kate.Syntax.Javadoc
Text.Highlighting.Kate.Syntax.Javascript
Text.Highlighting.Kate.Syntax.Json
Text.Highlighting.Kate.Syntax.Jsp
Text.Highlighting.Kate.Syntax.Julia
Text.Highlighting.Kate.Syntax.Latex
Text.Highlighting.Kate.Syntax.Lex
Text.Highlighting.Kate.Syntax.LiterateCurry
Text.Highlighting.Kate.Syntax.LiterateHaskell
Text.Highlighting.Kate.Syntax.Lua
Text.Highlighting.Kate.Syntax.Makefile
Text.Highlighting.Kate.Syntax.Mandoc
Text.Highlighting.Kate.Syntax.Matlab
Text.Highlighting.Kate.Syntax.Maxima
Text.Highlighting.Kate.Syntax.Metafont
Text.Highlighting.Kate.Syntax.Mips
Text.Highlighting.Kate.Syntax.Modula2
Text.Highlighting.Kate.Syntax.Modula3
Text.Highlighting.Kate.Syntax.Monobasic
Text.Highlighting.Kate.Syntax.Nasm
Text.Highlighting.Kate.Syntax.Noweb
Text.Highlighting.Kate.Syntax.Objectivec
Text.Highlighting.Kate.Syntax.Objectivecpp
Text.Highlighting.Kate.Syntax.Ocaml
Text.Highlighting.Kate.Syntax.Octave
Text.Highlighting.Kate.Syntax.Pascal
Text.Highlighting.Kate.Syntax.Perl
Text.Highlighting.Kate.Syntax.Php
Text.Highlighting.Kate.Syntax.Pike
Text.Highlighting.Kate.Syntax.Postscript
Text.Highlighting.Kate.Syntax.Prolog
Text.Highlighting.Kate.Syntax.Python
Text.Highlighting.Kate.Syntax.R
Text.Highlighting.Kate.Syntax.Relaxngcompact
Text.Highlighting.Kate.Syntax.Rhtml
Text.Highlighting.Kate.Syntax.Ruby
Text.Highlighting.Kate.Syntax.Rust
Text.Highlighting.Kate.Syntax.Scala
Text.Highlighting.Kate.Syntax.Scheme
Text.Highlighting.Kate.Syntax.Sci
Text.Highlighting.Kate.Syntax.Sed
Text.Highlighting.Kate.Syntax.Sgml
Text.Highlighting.Kate.Syntax.Sql
Text.Highlighting.Kate.Syntax.SqlMysql
Text.Highlighting.Kate.Syntax.SqlPostgresql
Text.Highlighting.Kate.Syntax.Tcl
Text.Highlighting.Kate.Syntax.Texinfo
Text.Highlighting.Kate.Syntax.Verilog
Text.Highlighting.Kate.Syntax.Vhdl
Text.Highlighting.Kate.Syntax.Xml
Text.Highlighting.Kate.Syntax.Xorg
Text.Highlighting.Kate.Syntax.Xslt
Text.Highlighting.Kate.Syntax.Xul
Text.Highlighting.Kate.Syntax.Yacc
Text.Highlighting.Kate.Syntax.Yaml
-- disable optimizations; it doesn't hurt performance much and
-- massively improves compilation speed and memory usage
Default-Language: Haskell98
Ghc-Options: -W -O0
Ghc-Prof-Options: -auto-all -caf-all
-- the following line is needed to prevent gcc from consuming huge amounts of
-- memory on platforms without a native code generator:
Cc-Options: -O0
Executable Highlight
Main-Is: Highlight.hs
Build-Depends: base, containers, blaze-html >= 0.4.2 && < 0.7, filepath,
highlighting-kate
Hs-Source-Dirs: extra
Default-Language: Haskell98
if flag(pcre-light)
cpp-options: -D_PCRE_LIGHT
Ghc-Options: -W -O0 -rtsopts
Ghc-Prof-Options: -auto-all -caf-all -rtsopts
-- the following line is needed to prevent gcc from consuming huge amounts of
-- memory on platforms without a native code generator:
Cc-Options: -O0
if flag(executable)
Buildable: True
else
Buildable: False