This repository has been archived by the owner on Jul 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
/
highlighting-kate.cabal
276 lines (269 loc) · 12.8 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
Name: highlighting-kate
Version: 0.6.4
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.
__This library has been deprecated.
Please use skylighting instead.__
License: GPL
License-file: LICENSE
Author: John MacFarlane
Maintainer: [email protected]
Homepage: http://github.com/jgm/highlighting-kate
Extra-Source-Files: README.md
changelog
Makefile
ParseSyntaxFiles.hs
Text/Highlighting/Kate/Syntax.hs.in
css/hk-espresso.css
css/hk-kate.css
css/hk-pyg.css
css/hk-tango.css
xml/language.dtd
xml/*.xml
xml/*.xml.patch
tests/abc.ada
tests/abc.ada.html
tests/abc.agda
tests/abc.agda.html
tests/abc.c
tests/abc.c.html
tests/abc.clojure
tests/abc.clojure.html
tests/abc.cpp
tests/abc.cpp.html
tests/abc.cs
tests/abc.cs.html
tests/abc.d
tests/abc.d.html
tests/abc.fortran
tests/abc.fortran.html
tests/abc.go
tests/abc.go.html
tests/abc.haskell
tests/abc.haskell.html
tests/abc.java
tests/abc.java.html
tests/abc.javascript
tests/abc.javascript.html
tests/abc.julia
tests/abc.julia.html
tests/abc.kotlin
tests/abc.kotlin.html
tests/abc.lisp
tests/abc.lisp.html
tests/abc.matlab
tests/abc.matlab.html
tests/abc.ocaml
tests/abc.ocaml.html
tests/abc.perl
tests/abc.perl.html
tests/abc.php
tests/abc.php.html
tests/abc.prolog
tests/abc.prolog.html
tests/abc.python
tests/abc.python.html
tests/abc.r
tests/abc.r.html
tests/abc.ruby
tests/abc.ruby.html
tests/abc.scala
tests/abc.scala.html
tests/abc.scheme
tests/abc.scheme.html
tests/abc.tcl
tests/abc.tcl.html
tests/archive.rhtml
tests/archive.rhtml.html
tests/life.lua
tests/life.lua.html
Flag executable
Description: Build the highlighting-kate 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
Build-Depends: base >= 4.4 && < 5, containers,
parsec, mtl, blaze-html >= 0.4.2 && < 0.10,
utf8-string
if flag(pcre-light)
Build-depends: pcre-light >= 0.4 && < 0.5, bytestring
cpp-options: -D_PCRE_LIGHT
else
Build-depends: regex-pcre-builtin >= 0.94.4.8.8.35
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.Abc
Text.Highlighting.Kate.Syntax.Actionscript
Text.Highlighting.Kate.Syntax.Ada
Text.Highlighting.Kate.Syntax.Agda
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.Ats
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.Dockerfile
Text.Highlighting.Kate.Syntax.Dot
Text.Highlighting.Kate.Syntax.Doxygen
Text.Highlighting.Kate.Syntax.Doxygenlua
Text.Highlighting.Kate.Syntax.Dtd
Text.Highlighting.Kate.Syntax.Eiffel
Text.Highlighting.Kate.Syntax.Elixir
Text.Highlighting.Kate.Syntax.Email
Text.Highlighting.Kate.Syntax.Erlang
Text.Highlighting.Kate.Syntax.Fasm
Text.Highlighting.Kate.Syntax.Fortran
Text.Highlighting.Kate.Syntax.Fsharp
Text.Highlighting.Kate.Syntax.Gcc
Text.Highlighting.Kate.Syntax.Glsl
Text.Highlighting.Kate.Syntax.Gnuassembler
Text.Highlighting.Kate.Syntax.Go
Text.Highlighting.Kate.Syntax.Hamlet
Text.Highlighting.Kate.Syntax.Haskell
Text.Highlighting.Kate.Syntax.Haxe
Text.Highlighting.Kate.Syntax.Html
Text.Highlighting.Kate.Syntax.Idris
Text.Highlighting.Kate.Syntax.Ini
Text.Highlighting.Kate.Syntax.Isocpp
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.Kotlin
Text.Highlighting.Kate.Syntax.Latex
Text.Highlighting.Kate.Syntax.Lex
Text.Highlighting.Kate.Syntax.Lilypond
Text.Highlighting.Kate.Syntax.LiterateCurry
Text.Highlighting.Kate.Syntax.LiterateHaskell
Text.Highlighting.Kate.Syntax.Llvm
Text.Highlighting.Kate.Syntax.Lua
Text.Highlighting.Kate.Syntax.M4
Text.Highlighting.Kate.Syntax.Makefile
Text.Highlighting.Kate.Syntax.Mandoc
Text.Highlighting.Kate.Syntax.Markdown
Text.Highlighting.Kate.Syntax.Mathematica
Text.Highlighting.Kate.Syntax.Matlab
Text.Highlighting.Kate.Syntax.Maxima
Text.Highlighting.Kate.Syntax.Mediawiki
Text.Highlighting.Kate.Syntax.Metafont
Text.Highlighting.Kate.Syntax.Mips
Text.Highlighting.Kate.Syntax.Modelines
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.Opencl
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.Pure
Text.Highlighting.Kate.Syntax.Python
Text.Highlighting.Kate.Syntax.R
Text.Highlighting.Kate.Syntax.Relaxng
Text.Highlighting.Kate.Syntax.Relaxngcompact
Text.Highlighting.Kate.Syntax.Rest
Text.Highlighting.Kate.Syntax.Rhtml
Text.Highlighting.Kate.Syntax.Roff
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.Tcsh
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
Text.Highlighting.Kate.Syntax.Zsh
-- 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: -fprof-auto-exported
-- 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 highlighting-kate
Main-Is: highlighting-kate.hs
Build-Depends: base, containers, blaze-html >= 0.4.2 && < 0.10, 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: -fprof-auto-exported
-- 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
test-suite test-highlighting-kate
Type: exitcode-stdio-1.0
Main-Is: test-highlighting-kate.hs
Hs-Source-Dirs: tests
build-depends: base >= 4, directory, highlighting-kate, filepath,
process, Diff, containers, blaze-html >= 0.4.2 && < 0.10
default-language: Haskell98