I'm planning to possibly rewrite one of my programs to Java. I originally wrote it in Python as a school assignment, but it fails to please me to the full expectations. It is a dedicate editor for a music notation language called ABC. However, one of the MUSTS is that it has syntax-highlighting, but there is no lexer currently available for this language.
Do you know any libraries that I could use to do the lexing for a custom language?
I'm planning to write my program through the use of swing.