From: Buoso Donati <poverobuosodonati@gmail.com>
To: Leo Butler <Leo.Butler@umanitoba.ca>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Language support for C# in org-babel
Date: Mon, 6 Jan 2025 22:09:59 +0100 [thread overview]
Message-ID: <7d0db99b-f926-42b1-a867-2b05e0224323@gmail.com> (raw)
In-Reply-To: <87y0zn24bk.fsf@t14.reltub.ca>
Thanks a lot for your input!
> Have you looked at ob-C.el or ob-java.el? I am not sure how similar C#
> is to either C/C++/D or Java, but it may make sense to try to extend one
> of those.
In fact, I was most inspired by the existing ob-C.el and ob-java.el!
From what I understand C# (in conjunction with csproj-files) is
"different enough" from C/C++ and Java (I don't feel particularly
comfortable judging the D language) that it somewhat makes sense to
create an individual file integrating it (as opposed to increase the
complexity with existing integrations).
I will however consider this and re-evaluate my initial concept with
your feedback.
> See the instructions at
>
> https://orgmode.org/worg/org-contribute.html#first-patch
I would go ahead and follow these instructions trying to contribute the
draft. This also makes it easier for me to show what I mean and
elaborate on the concept (and the differences to existing integrations)
potentially.
Best regards,
Max
On 06.01.25 19:19, Leo Butler wrote:
> On Mon, Jan 06 2025, poverobuosodonati <poverobuosodonati@gmail.com> wrote:
>
>>
>>
>>
>>
>> Hi guys,
>>
>>
>>
>> I am a newbie in that I've never contributed so far. Thus, I would like to start this journey with pinging the mailing list first as it is indicated in the contributing documentation.
>>
> Welcome.
>
>>
>> As far as I know, there is currently no language support for C# withi org-babel.
>>
>> As this (evaluating C# code-blocks) is occasionally helpful for my
>> workflow, I went ahead and wrote an integration following the
>> excellent documentation found here
>> (https://orgmode.org/worg/org-contrib/babel/languages/index.html).
> Have you looked at ob-C.el or ob-java.el? I am not sure how similar C#
> is to either C/C++/D or Java, but it may make sense to try to extend one
> of those.
>
>>
>> Are there any objections against me trying to upstream this addition?
>> I would go ahead and try to open a pull request following the
>> guidelines from this documentation
>> (https://orgmode.org/worg/org-contribute.html) if there are none. Or
>> is there a better way/no need for it in the first place?
> See the instructions at
>
> https://orgmode.org/worg/org-contribute.html#first-patch
>
> Best regards,
> Leo
next prev parent reply other threads:[~2025-01-06 21:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-06 17:44 Language support for C# in org-babel poverobuosodonati
2025-01-06 18:19 ` Leo Butler
2025-01-06 21:09 ` Buoso Donati [this message]
2025-01-07 18:04 ` Ihor Radchenko
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=7d0db99b-f926-42b1-a867-2b05e0224323@gmail.com \
--to=poverobuosodonati@gmail.com \
--cc=Leo.Butler@umanitoba.ca \
--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).