emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thierry Banel <tbanelwebmin@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: Babel support for the D language
Date: Sun, 1 Dec 2013 16:08:03 +0000 (UTC)	[thread overview]
Message-ID: <loom.20131201T165312-438@post.gmane.org> (raw)
In-Reply-To: 87bo10u09u.fsf@gmail.com

Eric Schulte <schulte.eric <at> gmail.com> writes:

> 
> Hi Thierry,
> 
> I've added ob-D.el to the contrib/lisp directory of Org-mode.  Would it
> make sense to add D as a c-variant in ob-C.el?
> 
> Thanks for the contribution, and for the documentation!
> 
> Thierry Banel <tbanelwebmin <at> free.fr> writes:
> 

Hi Eric

That's awsome !

Yes, it would make sense, as D and C++ share a lot.
There are differences, though:
  tables are translated as:
    string[][]; in D
    char*[]; in C++
  includes are translated as:
    import std.stdio;  in D
    #include <stdio> in C++

But yes, probably sharing a single ob-C.el file would save some maintenance
effort. And by the way, ob-D.el was directly inspired by your ob-C.el.

I'm open and willing to go further.
Thierry

  reply	other threads:[~2013-12-01 16:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28 17:06 Babel support for the D language Thierry Banel
2013-11-28 17:51 ` Thomas S. Dye
2013-11-28 19:02   ` Thierry Banel
2013-11-28 20:57     ` Thomas S. Dye
2013-11-28 22:32     ` Nick Dokos
2013-11-29  7:40       ` Thierry Banel
2013-11-29 15:06         ` Nick Dokos
2013-11-29 20:19           ` Thierry Banel
2013-11-30  7:42   ` Thierry Banel
2013-11-30 17:56     ` Thomas S. Dye
2013-12-01 14:08       ` Thierry Banel
2013-12-01 14:13 ` Eric Schulte
2013-12-01 16:08   ` Thierry Banel [this message]
2013-12-01 18:04     ` Eric Schulte
2013-12-01 18:43       ` Thierry Banel
2013-12-14 18:49       ` Thierry Banel
2013-12-15 21:35         ` Eric Schulte

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=loom.20131201T165312-438@post.gmane.org \
    --to=tbanelwebmin@free.fr \
    --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 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).