3 ms·
Right now the python plugin works by running a little tcp client and connecting to LT's main tcp server. You'd just need to flip those. The Clojure nREPL stuff
by ibdknox 13y ago
Right now the python plugin works by running a little tcp client and connecting to LT's main tcp server. You'd just need to flip those. The Clojure nREPL stuff does this, though it might be a hair bit more complicated than what you'll need for the python one: https://github.com/LightTable/Clojure/blob/master/src/lt/plugins/clojure/nrepl.cljs https://github.com/LightTable/Clojure/blob/master/src/lt/plu...
Past that, you'd just need to add something to the python plugin that runs a tcp server in your process and then hooks into the python running code that's already there. https://github.com/LightTable/Python/blob/master/py-src/ltmain.py https://github.com/LightTable/Python/blob/master/py-src/ltma...
- burningion 13y agoThanks Chris!