This is a simple addon for the opensource project: pygments.
Pygments is a syntax highlighter written in python.
Pygments supports a lot of programming/scripting languages... but it still doesn't support LSL yet. Therefore I decided to code it myself.
I thought it would be useful to all SecondLife citizens.
All honest opinion are welcome!
from pygments import highlight import LSLLexer from pygments.formatters import HtmlFormatter highlight(lsl_code, LSLLexer(), HtmlFormatter(linenos=True))