6.3.90.900
SS-RPC server
SS-RPC is a Synchronous S-expression-based Remote Procedure Call,
facility to call procedure within remote process and receive
return value. SS-RPC allows you to use Racket as GNU Emacs extension language.
It includes a server described by this page and a
client for Emacs.
1 Features and limitations
SS-RPC uses S-expressions as message language and TCP/IP
as transport. Main advantages of SS-RPC over other RPCs for
Emacs are lower remote call overhead and a feature of mutual
remote call between server and client.
SS-RPC is limited with synchronous calls and transmitted data structures
which are defined by the intersection of Emacs Lisp and Racket readers.
2 Server API
Puts a procedure x to a method table that can be accessed from client by a key.
Syntactic wrapper for
define with a registering as a method with its symbol.
is a shorthand for
Enters a serving loop with handling incoming commands.
Applies a elisp procedure method to args as its arguments and returns the result
of application. Note, that elisp client does not registers remote procedures and method can be any
elisp procedure symbol.
Applies a elisp procedure method to args as its arguments with ignoring the return result
of application. Note, that elisp client does not registers remote procedures and method can be any
elisp procedure symbol.
Deinitialization procedure which will be applied on receiving terminate command.
Readtable to read incoming message. Currently reads nil symbol as empty list, elisp vectors and hashtables