Ihor Radchenko <yantar92@posteo.net> writes:

Hunter Jozwiak <hunter.t.joz@gmail.com> writes:

i am curious whether or not it is possible to connect Org babel to a remotely running scheme REPL, more specifically the Guile REPL that you get by running something like guix repl –listen=tcp:37146

ob-scheme does not have such feature. Although, it might not be hard to implement.

Check out `org-babel-scheme-get-repl' function. Now, it calls (geiser impl) You would need (geiser-connect impl host port) to connect to server.

Of course, you'd also need to somehow get HOST and PORT values. For example, passing them all the way down from the header argument plist stored in PARAMS argument of `org-babel-execute:scheme' (-> org-babel-scheme-execute-with-geiser -> org-babel-scheme-get-repl)

Patches welcome!

Hello,

Here is a patch that provides this functionality.