We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Does anybody know where I might be able to find Processing's rules for its syntax highlighting? Is it a separate file somewhere or is it hardcoded into the IDE?
The reason I am asking is that I would like to use it as a basis for a custom syntax definition in Sublime Text 3.
Answers
I believe it is hardcoded in the IDE. Now, you can generally use a simple Java scheme, and enrich it with rules for #FDAD33 colors and similar, and of course the Processing "keywords" (method and variable names).
There is a text file in the Processing install folder having a list of these names.
See keywords.txt.