emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Thierry Banel <tbanelwebmin@free.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Babel support for the D language
Date: Sun, 01 Dec 2013 11:04:03 -0700	[thread overview]
Message-ID: <877gbotpm4.fsf@gmail.com> (raw)
In-Reply-To: <loom.20131201T165312-438@post.gmane.org> (Thierry Banel's message of "Sun, 1 Dec 2013 16:08:03 +0000 (UTC)")

Thierry Banel <tbanelwebmin@free.fr> writes:

> 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
>

Great,

I think this incorporation into ob-C.el would be the next logical step.
You'd want to use the `org-babel-c-variant' in the same manner as C++
does currently.  But there's no rush, and any changes there couldn't be
merged until after your FSF copyright assignment forms have been
completed.

Best Regards,

>
>
>
>

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D

  reply	other threads:[~2013-12-01 18:05 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
2013-12-01 18:04     ` Eric Schulte [this message]
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=877gbotpm4.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tbanelwebmin@free.fr \
    /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).