You can use Pygments in Java using Jython but its performance is questionable and can be incredibly slow when highlighting lisp code for example.
Its a very edge case for most people, but seeing as I am working on a searchcode.com upgrade I need a fast highlighter. Currently I am spawning a background Go process using Chroma to take care of this for me, but if there was a decent Java library I would use it. None exist I am aware of that are even slightly up-to date.
You can use Pygments in Java using Jython but its performance is questionable and can be incredibly slow when highlighting lisp code for example.
Its a very edge case for most people, but seeing as I am working on a searchcode.com upgrade I need a fast highlighter. Currently I am spawning a background Go process using Chroma to take care of this for me, but if there was a decent Java library I would use it. None exist I am aware of that are even slightly up-to date.