While creating the parser for Banished RSC files, I came across the SRSL files in the Materials folder. I have no idea of the language used, but some reminds me of C and C++, like struct, sin, cos, abs, etcetera.
This is a first attempt in creating an SRSL parser for Notepad++, slightly based on my knowledge of other languages like C, C++, LUA and PHP.
Any suggestions to make this a better parser are more than welcome!
(http://www.metzlar.org/banished/Banished_SRSL.png)