Pygments

generic syntax highlighter


{5} Accepted, Active Tickets by Owner (Full Description) (3 matches)

List tickets accepted, group by ticket owner. This report demonstrates the use of full-row display.

gbrandl (2 matches)

Ticket Summary Component Milestone Type Created
Description
#345 [patch] lexer grammars for parser generators: ANTLR, Ragel lexers 1.0 enhancement 07/06/08

I have attached a new parsers.py file which contains pygments lexers for ANTLR and Ragel parser generators.

I have tested this on a large number of example files (http://ananelson.com/tmp/). If you would like to add examples for this to your test directory let me know what license you require them to be and I will look for something suitable.

I have not changed the copyright notice on whichever lexer file I copied as a template.

I'm sure there are a few edge cases that will need tweaking, so you might want to put my contact info in this file for people to get in touch with me directly if you decide to add it to pygments.


#373 Prolog Lexer lexers Someday enhancement 11/12/08

It would be nice to have prolog syntax highlight


thatch (1 match)

Ticket Summary Component Milestone Type Created
Description
#349 Support (ba)sh shell sessions lexers 1.0 task 07/27/08

I envision a ShellConsoleLexer? that uses BashLexer? (perhaps with other lexers as well, for the output of commands like 'diff' or python console sessions). So I don't forget, this is what it looks like on an Ubuntu box

user@host:~/path$ ls -a
.  ..  a  b  c
user@host:~/path$ diff -u a b
--- a   2008-07-26 17:10:07.000000000 -0700
+++ b   2008-07-26 17:10:10.000000000 -0700
@@ -1,3 +1,3 @@
 a
-b
+x
 c
user@host:~/path$ echo \
> a
a
user@host:~/path$ su
root@host:~#
sh-3.1$ # on hardy
sh$ # on etch

Note: See TracReports for help on using and creating reports.