all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: garjola@garjola.net
To: emacs-orgmode@gnu.org
Subject: C++ sessions for Babel with cling interpreter
Date: Sun, 05 Nov 2017 18:12:15 +0100	[thread overview]
Message-ID: <87po8wir9s.fsf@pc-117-162.i-did-not-set--mail-host-address--so-tickle-me> (raw)

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

             reply	other threads:[~2017-11-05 17:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-05 17:12 garjola [this message]
2017-11-05 23:42 ` C++ sessions for Babel with cling interpreter Martin Alsinet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87po8wir9s.fsf@pc-117-162.i-did-not-set--mail-host-address--so-tickle-me \
    --to=garjola@garjola.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.