On Jan 17, 2:03 pm, Matt Revelle <mreve...@gmail.com> wrote: > > Tools such as SLIME and (I think) Gorilla, on the other hand, are not > > written in language that makes sharing easy. > > This is not entirely correct. SLIME works by communicating with the > running Lisp process (in this case, Clojure), essentially all the > integration between Emacs/SLIME and Clojure is written in Clojure. > The component of SLIME that runs in the Lisp process is called SWANK.
Yes. To be clear: SLIME is written in Emacs Lisp, and is Emacs- specific. There are multiple implementations of SWANK for different Lisps, including Clojure. SLIME communicates with SWANK via a well- defined socket interface, see <http://common-lisp.net/project/slime/> swank-clojure <http://github.com/jochu/swank-clojure> is a little confusing because it includes both an implementation of SWANK in Clojure and some SLIME extensions in Emacs Lisp. swank-clojure could be a place to implement shared-backend features. Then again, you might not even need to modify swank-clojure. Since SWANK can send arbitrary expressions to the Clojure process, you could implement your introspection/reflection/refactoring features in pure Clojure (like show, source, javadoc) and just call them through SWANK. -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---