I'd like to add a Scintilla lexer for the Ren'Py script language. (http://www.renpy.org).
Ren'Py's script language is lexically quite similar to Python. Apart from additional keywords, the only major difference is that in Ren'Py, strings with one quote character (" or ') can span multiple lines, similar to Python's triple-quoted strings.
I'm wondering what the best way of going about doing this is. My current thought is that since the language is so similar to Python, the right idea is to modify LexPython to take an additional property, and to somehow set that property for Ren'Py files and leave it unset for Python files. I'm not sure how to do the latter, however.
Alternatively, I could fork LexPython into LexRenpy, but that would be a lot of code duplication.
What do you think?