<#multipart type=alternative> <#part type=text/plain> 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:37146ob-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.
<#part type=text/html> <p> Ihor Radchenko <yantar92@posteo.net> writes: </p>
<p> <blockquote class="gmailquote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hunter Jozwiak <hunter.t.joz@gmail.com> writes: </div> <div> <br /></div> <div><blockquote class="gmailquote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>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
</div></blockquote> </div> <div> <br /></div> <div>ob-scheme does not have such feature. Although, it might not be hard to implement. </div> <div> <br /></div> <div>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. </div> <div> <br /></div> <div>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) </div> <div> <br /></div> <div>Patches welcome!
</div></blockquote> </p>
<p> Hello, </p>
<p> Here is a patch that provides this functionality. </p> <#/multipart>