
POE::Filter::Swank - Stream based filter for the Swank protocol

The swank protocol is the protocol used by the Emacs part of SLIME to communicate with its Lisp part, the swank server.
The protocol is a very simple stream based protocol where each message is preceded by its length, e.g. Emacs might send this message at the start of a SLIME session to get information about the Swank server:
00002d(:emacs-rex (swank:connection-info) nil t 1)
To which the swank server might reply:
00038E(:return (:ok (:pid 16581 :style :spawn :lisp-implementation [ message truncated ]
This filter takes care of stripping the length from incoming messages and adding them to your outgoing messages, leaving you to worry only about the sexps.

Ævar Arnfjörð Bjarmason <avar@cpan.org>

Copyright 2008 Ævar Arnfjörð Bjarmason.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.