emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* C++ sessions for Babel with cling interpreter
@ 2017-11-05 17:12 garjola
  2017-11-05 23:42 ` Martin Alsinet
  0 siblings, 1 reply; 2+ messages in thread
From: garjola @ 2017-11-05 17:12 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I use C++ source code blocks in babel frequently and I am very happy with the results. As C++ is a compiled language, ob-C.el does not support sessions.

Unfortunately, this breaks a little my litterate programming workflow, since I don't know how to use small code snippets without sessions.

I have recently discovered cling [1], [2] a C++ interpreter which comes with de Root package [3]. I have also found a cling inferior mode [4] to interact with the interpreter in a comint buffer.

I was wondering if it would be difficult to update ob-C.el to use cling for session support. My elisp knowledge is too poor to understand what is involved in doing such a thing, but I would be interested in trying or helping somebody do it. Unfortunately, I have the impression that the developers of ob-C.el are not around this list anymore?

I would very much appreciate suggestions on how to proceed.

Thank you.

Garjola.

Footnotes: 
[1]  https://root.cern.ch/cling
[2]  https://www.youtube.com/watch?v=Lbi7MLS03Yc
[3]  https://root.cern.ch/
[4]  https://github.com/brianqq/inferior-cling

-- 
Dr. Dindi
Dad, Philosopher, Hacker

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-05 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-05 17:12 C++ sessions for Babel with cling interpreter garjola
2017-11-05 23:42 ` Martin Alsinet

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).