Input Message Protocol

The default input message protocol is an ASCII text message which can be read in from the socket using the SubL "read" protocol. More precisely, the SubL function READ is called on the input stream for the socket in order to produce a SubL form. This form represents the request to be evaluated.

Each API request is thus a textual sequence of the form

( <API function> <arg1> ... <argN> ) <whitespace>

For example :

(constant-id #$Thing)

The arguments to an API request may themselves be API requests. For example :

(constant-id (find-constant "Thing"))