[climacs-devel] Patch for putting Swine in Climacs

Troels Henriksen athas at sigkill.dk
Sat Jun 17 22:35:39 UTC 2006


Attached to this post is a work-in-progress patch to Climacs that
integrates Swine with the Lisp syntax. I have based this on the Swine
from CLIM-desktop, minus the stuff requiring Clouseau or Closure, but
with a few cleanups, and a slight change in the informal protocol used
to query the Lisp for information: the functions now take an "image"
parameter taken from the syntax object. If NIL, the Swine functions
will basically not work. The idea is that code added to climacs.asd
tries to detect whether or not Swank is available, and if it is, loads
lisp-syntax-swank.lisp that sets up Lisp syntax objects to use Swank
for evaluating code, jumping to definitions, etc. (stuff that would be
broken without Swank). This also opens up the possibility of creating
a remote-image-objet for connecting Climacs to a remote Lisp like
SLIME is capable of, but this will require a few more modifications of
how the Lisp syntax works.

This patch is obviously not clean enough to commit yet, but please
comment on it if you feel that the approach taken is suboptimal.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: climacs-swine.diff
URL: <https://mailman.common-lisp.net/pipermail/climacs-devel/attachments/20060618/13fe31ac/attachment.ksh>
-------------- next part --------------

-- 
\  Troels "Athas" Henriksen
/\ - Insert witty signature


More information about the climacs-devel mailing list