Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 271 lines (264 sloc) 11.855 kB
ede8650 Initial commit.
jgm@berkeley.edu authored
1 Name: highlighting-kate
2d172df @jgm Bump version to 0.4 because of API change.
authored
2 Version: 0.4
5f4e4c4 @jgm Back to -O0 for ghc- and cc- options.
authored
3 Cabal-Version: >= 1.6
274edd2 Added Build-Type and Category to cabal.
jgm@berkeley.edu authored
4 Build-Type: Simple
5 Category: Text
c213649 Shorter synopsis in cabal.
jgm@berkeley.edu authored
6 Synopsis: Syntax highlighting
81effcf Removed unnecessary dependencies in cabal file.
jgm@berkeley.edu authored
7 Description: highlighting-kate is a syntax highlighting library
693e50c @jgm Removed some syntaxes to trim the bloated package.
authored
8 with support for nearly one hundred languages. The syntax
9971bc5 Added some references to Kate's website for those who don't know Kate.
jgm@berkeley.edu authored
9 parsers are automatically generated from Kate
5112b86 Put <> around URL in cabal file.
jgm@berkeley.edu authored
10 syntax descriptions (<http://kate-editor.org/>),
9971bc5 Added some references to Kate's website for those who don't know Kate.
jgm@berkeley.edu authored
11 so any syntax supported by Kate can be added.
12 An (optional) command-line program is provided, along
13 with a utility for generating new parsers from Kate
14 XML syntax descriptions.
3844414 Removed list of supported languages from description.
jgm@berkeley.edu authored
15
ede8650 Initial commit.
jgm@berkeley.edu authored
16 License: GPL
17 License-file: LICENSE
18 Author: John MacFarlane
19 Maintainer: jgm@berkeley.edu
5a5c06c @jgm Changed home page to github.
authored
20 Homepage: http://github.com/jgm/highlighting-kate
ede8650 Initial commit.
jgm@berkeley.edu authored
21 Extra-Source-Files: README
6252fc8 Added some extra files to Extra-source-files in cabal.
jgm@berkeley.edu authored
22 BUGS
d3d8a28 Added changelog to list of files in cabal.
jgm@berkeley.edu authored
23 changelog
ede8650 Initial commit.
jgm@berkeley.edu authored
24 Highlight.hs
25 ParseSyntaxFiles.hs
1b03b64 Added templating system for construction of source files.
jgm@berkeley.edu authored
26 Text/Highlighting/Kate/Syntax.hs.in
41943f6 Changed hk-dark.css -> hk-espresso.css in cabal.
jgm@berkeley.edu authored
27 css/hk-espresso.css
6252fc8 Added some extra files to Extra-source-files in cabal.
jgm@berkeley.edu authored
28 css/hk-kate.css
29 css/hk-pyg.css
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
30 xml/actionscript.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
31 xml/ada.xml
32 xml/alert.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
33 xml/alert_indent.xml
34 xml/apache.xml
35 xml/asn1.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
36 xml/asp.xml
37 xml/awk.xml
38 xml/bash.xml
100f821 Fixed bug in bash.xml -- "\\" should be "\".
jgm@berkeley.edu authored
39 xml/bash.xml.bkp
ede8650 Initial commit.
jgm@berkeley.edu authored
40 xml/bibtex.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
41 xml/boo.xml
42 xml/c.xml
43 xml/changelog.xml
3da5e0c @jgm Version 0.3.1 - put Clojure in cabal file.
authored
44 xml/clojure.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
45 xml/cmake.xml
461313c @igstan Added CoffeeScript highlighting
igstan authored
46 xml/coffeescript.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
47 xml/coldfusion.xml
48 xml/commonlisp.xml
49 xml/cpp.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
50 xml/cs.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
51 xml/css.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
52 xml/d.xml
53 xml/diff.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
54 xml/djangotemplate.xml
55 xml/doxygen.xml
cf5e152 @jgm Updated syntax descriptions from kate repository.
authored
56 xml/doxygenlua.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
57 xml/dtd.xml
870d048 Added Modula-3 and Rhtml modules.
jgm@berkeley.edu authored
58 xml/eiffel.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
59 xml/email.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
60 xml/erlang.xml
61 xml/fortran.xml
1ee39aa @basbossink Added F# highlighting based on the present ocaml definitions.
basbossink authored
62 xml/fsharp.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
63 xml/gnuassembler.xml
64 xml/go.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
65 xml/haskell.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
66 xml/haxe.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
67 xml/html.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
68 xml/ini.xml
69 xml/java.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
70 xml/javadoc.xml
71 xml/javascript.xml
6252fc8 Added some extra files to Extra-source-files in cabal.
jgm@berkeley.edu authored
72 xml/javascript.xml.bkp
ede8650 Initial commit.
jgm@berkeley.edu authored
73 xml/json.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
74 xml/jsp.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
75 xml/language.dtd
76 xml/latex.xml
77 xml/lex.xml
78 xml/literate-haskell.xml
79 xml/lua.xml
80 xml/makefile.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
81 xml/mandoc.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
82 xml/matlab.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
83 xml/maxima.xml
84 xml/metafont.xml
85 xml/mips.xml
86 xml/modula-2.xml
870d048 Added Modula-3 and Rhtml modules.
jgm@berkeley.edu authored
87 xml/modula-3.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
88 xml/monobasic.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
89 xml/nasm.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
90 xml/noweb.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
91 xml/objectivec.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
92 xml/objectivecpp.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
93 xml/ocaml.xml
d80ff92 Added octave syntax.
jgm@berkeley.edu authored
94 xml/octave.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
95 xml/pascal.xml
96 xml/perl.xml
6252fc8 Added some extra files to Extra-source-files in cabal.
jgm@berkeley.edu authored
97 xml/perl.xml.bkp
ede8650 Initial commit.
jgm@berkeley.edu authored
98 xml/php.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
99 xml/pike.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
100 xml/postscript.xml
101 xml/prolog.xml
102 xml/python.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
103 xml/r.xml
287bc55 Added relaxng-compact syntax.
jgm@berkeley.edu authored
104 xml/relaxngcompact.xml
870d048 Added Modula-3 and Rhtml modules.
jgm@berkeley.edu authored
105 xml/rhtml.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
106 xml/ruby.xml
107 xml/scala.xml
108 xml/scheme.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
109 xml/sci.xml
110 xml/sed.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
111 xml/sgml.xml
112 xml/sql-mysql.xml
113 xml/sql-postgresql.xml
114 xml/sql.xml
115 xml/tcl.xml
116 xml/texinfo.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
117 xml/verilog.xml
118 xml/vhdl.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
119 xml/xml.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
120 xml/xorg.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
121 xml/xslt.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
122 xml/xul.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
123 xml/yacc.xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
124 xml/yaml.xml
ede8650 Initial commit.
jgm@berkeley.edu authored
125 Flag splitBase
126 Description: Choose the new, smaller, split-up base package.
127 Default: True
4e883af Changed buildExecutable flag to executable
jgm@berkeley.edu authored
128 Flag executable
6ef44ba Added cabal configuration flag for building the Highlight executable.
jgm@berkeley.edu authored
129 Description: Build the Highlight executable.
130 Default: False
aa119a5 Added pcre-light flag, default to using regex-pcre-builtin
jgm@berkeley.edu authored
131 Flag pcre-light
132 Description: Use the pcre-light library instead of regex-pcre-builtin
133 Default: False
ede8650 Initial commit.
jgm@berkeley.edu authored
134
5f4e4c4 @jgm Back to -O0 for ghc- and cc- options.
authored
135 Source-repository head
136 type: git
137 location: git://github.com/jgm/highlighting-kate.git
138
ede8650 Initial commit.
jgm@berkeley.edu authored
139 Library
140 if flag(splitBase)
bab29e5 Added upper bound on base.
jgm@berkeley.edu authored
141 Build-Depends: base >= 3 && < 5, containers
ede8650 Initial commit.
jgm@berkeley.edu authored
142 else
143 Build-Depends: base < 3
aa119a5 Added pcre-light flag, default to using regex-pcre-builtin
jgm@berkeley.edu authored
144 if flag(pcre-light)
145 Build-depends: pcre-light
146 cpp-options: -D_PCRE_LIGHT
147 else
148 Build-depends: regex-pcre-builtin
1fa53fb @jgm API changes: highlight (and highlightAs) now lazily returns a list of…
authored
149 Build-Depends: parsec, mtl, blaze-html >= 0.4.2 && < 0.5
ede8650 Initial commit.
jgm@berkeley.edu authored
150 Exposed-Modules: Text.Highlighting.Kate
151 Text.Highlighting.Kate.Syntax
69fc129 Export definitions in Text.Highlighting.Kate.Definitions.
jgm@berkeley.edu authored
152 Text.Highlighting.Kate.Definitions
ede8650 Initial commit.
jgm@berkeley.edu authored
153 Text.Highlighting.Kate.Format
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
154 Text.Highlighting.Kate.Syntax.Actionscript
155 Text.Highlighting.Kate.Syntax.Ada
ede8650 Initial commit.
jgm@berkeley.edu authored
156 Text.Highlighting.Kate.Syntax.Alert
e508eb8 @tianyicui updated grammar files from Kate, bump version
tianyicui authored
157 Text.Highlighting.Kate.Syntax.Alert_indent
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
158 Text.Highlighting.Kate.Syntax.Apache
159 Text.Highlighting.Kate.Syntax.Asn1
ede8650 Initial commit.
jgm@berkeley.edu authored
160 Text.Highlighting.Kate.Syntax.Asp
161 Text.Highlighting.Kate.Syntax.Awk
162 Text.Highlighting.Kate.Syntax.Bash
163 Text.Highlighting.Kate.Syntax.Bibtex
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
164 Text.Highlighting.Kate.Syntax.Boo
ede8650 Initial commit.
jgm@berkeley.edu authored
165 Text.Highlighting.Kate.Syntax.C
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
166 Text.Highlighting.Kate.Syntax.Changelog
3da5e0c @jgm Version 0.3.1 - put Clojure in cabal file.
authored
167 Text.Highlighting.Kate.Syntax.Clojure
ede8650 Initial commit.
jgm@berkeley.edu authored
168 Text.Highlighting.Kate.Syntax.Cmake
461313c @igstan Added CoffeeScript highlighting
igstan authored
169 Text.Highlighting.Kate.Syntax.Coffeescript
ede8650 Initial commit.
jgm@berkeley.edu authored
170 Text.Highlighting.Kate.Syntax.Coldfusion
171 Text.Highlighting.Kate.Syntax.Commonlisp
172 Text.Highlighting.Kate.Syntax.Cpp
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
173 Text.Highlighting.Kate.Syntax.Cs
ede8650 Initial commit.
jgm@berkeley.edu authored
174 Text.Highlighting.Kate.Syntax.Css
175 Text.Highlighting.Kate.Syntax.D
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
176 Text.Highlighting.Kate.Syntax.Diff
ede8650 Initial commit.
jgm@berkeley.edu authored
177 Text.Highlighting.Kate.Syntax.Djangotemplate
178 Text.Highlighting.Kate.Syntax.Doxygen
cf5e152 @jgm Updated syntax descriptions from kate repository.
authored
179 Text.Highlighting.Kate.Syntax.Doxygenlua
ede8650 Initial commit.
jgm@berkeley.edu authored
180 Text.Highlighting.Kate.Syntax.Dtd
3090d81 Added Eiffel module to exposed-modules in cabal.
jgm@berkeley.edu authored
181 Text.Highlighting.Kate.Syntax.Eiffel
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
182 Text.Highlighting.Kate.Syntax.Email
ede8650 Initial commit.
jgm@berkeley.edu authored
183 Text.Highlighting.Kate.Syntax.Erlang
184 Text.Highlighting.Kate.Syntax.Fortran
1ee39aa @basbossink Added F# highlighting based on the present ocaml definitions.
basbossink authored
185 Text.Highlighting.Kate.Syntax.Fsharp
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
186 Text.Highlighting.Kate.Syntax.Gnuassembler
187 Text.Highlighting.Kate.Syntax.Go
ede8650 Initial commit.
jgm@berkeley.edu authored
188 Text.Highlighting.Kate.Syntax.Haskell
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
189 Text.Highlighting.Kate.Syntax.Haxe
ede8650 Initial commit.
jgm@berkeley.edu authored
190 Text.Highlighting.Kate.Syntax.Html
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
191 Text.Highlighting.Kate.Syntax.Ini
ede8650 Initial commit.
jgm@berkeley.edu authored
192 Text.Highlighting.Kate.Syntax.Java
193 Text.Highlighting.Kate.Syntax.Javadoc
194 Text.Highlighting.Kate.Syntax.Javascript
195 Text.Highlighting.Kate.Syntax.Json
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
196 Text.Highlighting.Kate.Syntax.Jsp
ede8650 Initial commit.
jgm@berkeley.edu authored
197 Text.Highlighting.Kate.Syntax.Latex
198 Text.Highlighting.Kate.Syntax.Lex
199 Text.Highlighting.Kate.Syntax.LiterateHaskell
200 Text.Highlighting.Kate.Syntax.Lua
201 Text.Highlighting.Kate.Syntax.Makefile
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
202 Text.Highlighting.Kate.Syntax.Mandoc
ede8650 Initial commit.
jgm@berkeley.edu authored
203 Text.Highlighting.Kate.Syntax.Matlab
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
204 Text.Highlighting.Kate.Syntax.Maxima
205 Text.Highlighting.Kate.Syntax.Metafont
206 Text.Highlighting.Kate.Syntax.Mips
207 Text.Highlighting.Kate.Syntax.Modula2
870d048 Added Modula-3 and Rhtml modules.
jgm@berkeley.edu authored
208 Text.Highlighting.Kate.Syntax.Modula3
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
209 Text.Highlighting.Kate.Syntax.Monobasic
ede8650 Initial commit.
jgm@berkeley.edu authored
210 Text.Highlighting.Kate.Syntax.Nasm
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
211 Text.Highlighting.Kate.Syntax.Noweb
ede8650 Initial commit.
jgm@berkeley.edu authored
212 Text.Highlighting.Kate.Syntax.Objectivec
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
213 Text.Highlighting.Kate.Syntax.Objectivecpp
ede8650 Initial commit.
jgm@berkeley.edu authored
214 Text.Highlighting.Kate.Syntax.Ocaml
d80ff92 Added octave syntax.
jgm@berkeley.edu authored
215 Text.Highlighting.Kate.Syntax.Octave
ede8650 Initial commit.
jgm@berkeley.edu authored
216 Text.Highlighting.Kate.Syntax.Pascal
217 Text.Highlighting.Kate.Syntax.Perl
218 Text.Highlighting.Kate.Syntax.Php
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
219 Text.Highlighting.Kate.Syntax.Pike
ede8650 Initial commit.
jgm@berkeley.edu authored
220 Text.Highlighting.Kate.Syntax.Postscript
221 Text.Highlighting.Kate.Syntax.Prolog
222 Text.Highlighting.Kate.Syntax.Python
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
223 Text.Highlighting.Kate.Syntax.R
93f0738 Added Relaxngcompact to list of syntax modules.
jgm@berkeley.edu authored
224 Text.Highlighting.Kate.Syntax.Relaxngcompact
870d048 Added Modula-3 and Rhtml modules.
jgm@berkeley.edu authored
225 Text.Highlighting.Kate.Syntax.Rhtml
ede8650 Initial commit.
jgm@berkeley.edu authored
226 Text.Highlighting.Kate.Syntax.Ruby
227 Text.Highlighting.Kate.Syntax.Scala
228 Text.Highlighting.Kate.Syntax.Scheme
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
229 Text.Highlighting.Kate.Syntax.Sci
230 Text.Highlighting.Kate.Syntax.Sed
ede8650 Initial commit.
jgm@berkeley.edu authored
231 Text.Highlighting.Kate.Syntax.Sgml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
232 Text.Highlighting.Kate.Syntax.Sql
ede8650 Initial commit.
jgm@berkeley.edu authored
233 Text.Highlighting.Kate.Syntax.SqlMysql
234 Text.Highlighting.Kate.Syntax.SqlPostgresql
235 Text.Highlighting.Kate.Syntax.Tcl
236 Text.Highlighting.Kate.Syntax.Texinfo
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
237 Text.Highlighting.Kate.Syntax.Verilog
238 Text.Highlighting.Kate.Syntax.Vhdl
ede8650 Initial commit.
jgm@berkeley.edu authored
239 Text.Highlighting.Kate.Syntax.Xml
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
240 Text.Highlighting.Kate.Syntax.Xorg
ede8650 Initial commit.
jgm@berkeley.edu authored
241 Text.Highlighting.Kate.Syntax.Xslt
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
242 Text.Highlighting.Kate.Syntax.Xul
ede8650 Initial commit.
jgm@berkeley.edu authored
243 Text.Highlighting.Kate.Syntax.Yacc
7bd486b @tianyicui Added a bunch of XML grammars from Kate
tianyicui authored
244 Text.Highlighting.Kate.Syntax.Yaml
69fc129 Export definitions in Text.Highlighting.Kate.Definitions.
jgm@berkeley.edu authored
245 Other-Modules: Text.Highlighting.Kate.Common
8dae438 Use Cabal to get version instead of hardcoding it.
jgm@berkeley.edu authored
246 Paths_highlighting_kate
5f4e4c4 @jgm Back to -O0 for ghc- and cc- options.
authored
247 -- disable optimizations; it doesn't hurt performance much and
248 -- massively improves compilation speed and memory usage
249 Ghc-Options: -W -O0
250 Ghc-Prof-Options: -auto-all -caf-all
8aed56e Added Cc-options -O0 to cabal file.
jgm@berkeley.edu authored
251 -- the following line is needed to prevent gcc from consuming huge amounts of
252 -- memory on platforms without a native code generator:
5f4e4c4 @jgm Back to -O0 for ghc- and cc- options.
authored
253 Cc-Options: -O0
6ef44ba Added cabal configuration flag for building the Highlight executable.
jgm@berkeley.edu authored
254
255 Executable Highlight
256 Main-Is: Highlight.hs
bfaf1f4 @jgm Added version bounds for blaze-html.
authored
257 Build-Depends: base, containers, blaze-html >= 0.4.2 && < 0.5, filepath
aa119a5 Added pcre-light flag, default to using regex-pcre-builtin
jgm@berkeley.edu authored
258 if flag(pcre-light)
259 cpp-options: -D_PCRE_LIGHT
64071e0 @jgm Added -rtsopts.
authored
260 Ghc-Options: -W -O0 -rtsopts
5f4e4c4 @jgm Back to -O0 for ghc- and cc- options.
authored
261 Ghc-Prof-Options: -auto-all -caf-all
8aed56e Added Cc-options -O0 to cabal file.
jgm@berkeley.edu authored
262 -- the following line is needed to prevent gcc from consuming huge amounts of
263 -- memory on platforms without a native code generator:
264 Cc-Options: -O0
6ef44ba Added cabal configuration flag for building the Highlight executable.
jgm@berkeley.edu authored
265
4e883af Changed buildExecutable flag to executable
jgm@berkeley.edu authored
266 if flag(executable)
6ef44ba Added cabal configuration flag for building the Highlight executable.
jgm@berkeley.edu authored
267 Buildable: True
268 else
269 Buildable: False
ede8650 Initial commit.
jgm@berkeley.edu authored
270
Something went wrong with that request. Please try again.