A basic algorithm would be enough and very useful in a first time to get a more readable source code :
- All key words of the language with color1
- All String (between "") with color2
- All comments with color3
- In java, all javadoc with color4
Clover reports are good examples.