emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ob-clojure session support (was: ob-clojure eval error when has comm


From: Ihor Radchenko
Subject: Re: ob-clojure session support (was: ob-clojure eval error when has comment at end of code line)
Date: Sun, 30 Oct 2022 12:45:49 +0000

Daniel Kraus <daniel@kraus.my> writes:

>> Let me know if you need any help with the fix.
>
> I feel adding session support for babashka and nbb (and maybe a future 
> clojure-cli backend)
> makes most sense.
> Relying on `inf-clojure` would make this task simpler but this is also the
> package the least amount of people will have installed, as cider is much more 
> popular.

Ideally, we want to support all the backends, but just cider (popular) +
easy ones will also do.

> Is there a good (and simple) example of another babel package that implements
> session support but doesn't depend on an external inf-xxx package?
> Then I could use code from there.

I'd say that ob-gnuplot is the simplest way. Given that we have an
equivalent of `gnuplot-send-buffer-to-gnuplot' command.

For more direct comint sessions, we have ob-comint.el library
implementing generic interactive sessions.
You can check out the usage of, say, `org-babel-comint-with-output', by
different babel backends.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]