World of Banished

Conversations => Tips and Tricks => Topic started by: FlyingDutchman on September 26, 2019, 09:50:55 AM

Title: SRSL parser for Notepad++
Post by: FlyingDutchman on September 26, 2019, 09:50:55 AM
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)