Highlight

Wednesday 2 June 2004

Highlight is a tool to syntax-color source code. I haven't tried it, but it seems very impressive: it supports 100 source languages, and writes output in a bunch of formats (HTML, RTF, TeX, XSL-FO, for example).

tagged: tools   /   via: Last Train Home» 2 reactions

Comments

[gravatar]
Michael Wexler 8:08 AM on 3 Jun 2004

Syntax highlighting needs a shared XML spec. Every different editor has a different file format for specifying keywords, tags, etc. And this clever tool has, sigh, yet another one.

I find that among the various investments one makes in an editor/ide/tool for coding, anything involving language specific customizations becomes hard to leave behind.

[gravatar]
James Antill 11:00 AM on 6 Jun 2004

In the words of rusty "XML is like violence: If it doesn't solve your problem, you aren't using enough of it." :)

I think that's partly to do with the number of languages "supported", it's basically chosen quantity over quality (for instance you can't even have different colors for "inline", "static" and "volatile"). For the main language I care about, C, I ended up writting my own highlighter for html. And possibly because it only supports C to HTML it produces a much better quality output (and it's not even a real project).

Highlight also suffers due to the copious amount of crap "themes" it comes with (and the default one isn't that great).

Add a comment:

name
email
Ignore this:
not displayed and no spam.
Leave this empty:
www
not searched.
 
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.