A syntax highlighter written in Haxe that can highlight the syntax of a bunch of languages, including Haxe.
Since it's written in Haxe, JavaScript and PHP versions can be generated, and snapshots
... [More]
are available inside the Subversion repository.
It is lightweight: 1 file, around 200 lines of algorithm and around 300 lines of language definitions.
Adding a new language is usually a matter of adding 5-10 regular expressions, and is somewhat flexible with recursive rules (for example, it highlights PHP/CSS/JS embedded in HTML).
There are plenty of examples of the source code highlighting in action on the homepage.
The statistics are wrong because Ohloh doesn't understand Haxe. [Less]