Coder Social home page Coder Social logo

Comments (3)

l04m33 avatar l04m33 commented on June 6, 2024 1

Is it possible to add some documention about connecting to an existing lisp process?

Sure, good idea. Maybe I should elaborate on the protocol too.

from vlime.

l04m33 avatar l04m33 commented on June 6, 2024

Vlime has it's own protocol, and can't talk to Swank directly. You'll have to include the Vlime server in your StumpWM image.

I have this little patch for my own StumpWM installation (you may need to adapt it to your environment):

diff --git a/load-stumpwm.lisp.in b/load-stumpwm.lisp.in
index a7b228a..463f58e 100644
--- a/load-stumpwm.lisp.in
+++ b/load-stumpwm.lisp.in
@@ -5,6 +5,16 @@
 
 (require 'asdf)
 
+(ql:quickload '(:xembed
+                :clx-truetype
+                :swank
+                :vlime
+                :vlime-usocket))
+
 (asdf:initialize-source-registry
  '(:source-registry
    (:directory "@STUMPWM_ASDF_DIR@")

Make a symlink to <vlime repo>/lisp/ in your <quicklisp>/local-projects/ directory, and compile StumpWM. Once StumpWM is set up successfully, evaluate (vlime:main :port 7002 :backend :vlime-usocket) in it to start the server. Then you can call vlime#plugin#ConnectREPL("127.0.0.1", 7002) to connect.

P.S. Thank you for trying it out. Hope you enjoyed it :)

from vlime.

duikboot avatar duikboot commented on June 6, 2024

Thank you very much for your quick reply, it's very helpful. Is it possible to add some documention about connecting to an existing lisp process?

from vlime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.