Ævar Arnfjörð Bjarmason > POE-Filter-Swank-0.01 > POE::Filter::Swank

Download:
POE-Filter-Swank-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

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

DESCRIPTION ^

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.

AUTHOR ^

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

LICENSE ^

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.