3 ms·
Awesome work, guys. I've got a quick question. I know there's a way to connect to a remote REPL for Clojure live eval, but is there currently a way to open up a
by burningion 13y ago
Awesome work, guys. I've got a quick question. I know there's a way to connect to a remote REPL for Clojure live eval, but is there currently a way to open up a remote Python session for eval?
I'm working on an embedded device with a Python interpreter, and I'd love to be able to run that environment remotely, over ssh with a Python session.
If it doesn't exist, can you steer me to a place to get started building this as a plugin? Thanks!
- ibdknox 13y agoRight 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!