The language used by SurpriseServer is described in section Description of Text Protocol API. This section describes the code of SurpriseServer itself. This section is definitely not interesting for you unless you plan to extend SurpriseServer capabalities.