From: "Eric Schulte" <schulte.eric@gmail.com>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [Announcement] Org-babel initial release
Date: Tue, 15 Sep 2009 14:03:16 -0600 [thread overview]
Message-ID: <m28wggvuup.fsf@gmail.com> (raw)
In-Reply-To: 87ab0waukq.fsf@gmx.de
[-- Attachment #1: Type: text/plain, Size: 961 bytes --]
Sebastian Rose <sebastian_rose@gmx.de> writes:
> "Eric Schulte" <schulte.eric@gmail.com> writes:
>>
>> Yes, currently the best way to get a feel for how to add languages would
>> be to start with an existing language file (I'd suggest
>> org-babel-python.el or org-babel-ruby.el, or for simpler less
>> comprehensive language support look at org-babel-ditaa or
>> org-babel-haskell) and make changes from there. I agree that a brief
>> tutorial for adding language support would be helpful.
>
>
> A skeleton maybe?
> And just a few comments describing the I/O of the basic functions
> (and/or the global vars/containers that take the results).
>
>
Good idea, I'm attaching an org-babel-template.el file which tries to be
just that. I'd be interested to hear how it works for you, or if you
want to make any changes. Once there is a good version maybe it would
be a good thing to either add to the babel/lisp/langs directory, or at
least to post on Worg.
[-- Attachment #2: org-babel-template.el --]
[-- Type: application/emacs-lisp, Size: 5549 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1218 bytes --]
>> There are two key language specific features which keep us from treating
>> all interpreted languages identically.
>> 1) Org-babel collects the last value of a source-code block to be
>> returned (see [1]) and this value needs to be collected and
>> potentially converted into elisp in a language specific manner
>> 2) Org-babel has support for evaluation in a session allowing
>> persistence of state between different blocks which use the same
>> session. I now notice that the :session header argument is not
>> currently documented on the Worg page. I'll try to add this
>> documentation soon. The sessions are handled through Emacs comint
>> buffers which are very language specific.
>
>
> Ahhh, I now comprehend. You're library makes all kinds of source blocks
> work together as a whole. Great! I now understand your intention! Make
> that old joke become true: "Emacs is a great OS, it's just missing a
> good editor" :-D
> ..... Nachtigall ick hör dir trappsen ...
>
:)
heh, I hadn't thought of it that way, but yea, the idea is to allow
different languages to interact all using emacs-lisp as the
lower-common-denominator.
Best -- Eric
[-- Attachment #4: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2009-09-15 20:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 13:44 [Announcement] Org-babel initial release Eric Schulte
2009-09-15 8:20 ` Carsten Dominik
2009-09-15 13:31 ` Miguel Fernando Cabrera
2009-09-15 14:49 ` Eric Schulte
2009-09-15 15:10 ` Eric Schulte
2009-09-15 17:26 ` Sebastian Rose
2009-09-15 17:54 ` Eric Schulte
2009-09-15 19:15 ` Sebastian Rose
2009-09-15 20:03 ` Eric Schulte [this message]
2009-09-15 20:53 ` Sebastian Rose
2009-09-15 17:56 ` Rick Moynihan
2009-09-15 20:07 ` Eric Schulte
2009-09-15 22:02 ` Eric Schulte
2009-10-09 16:38 ` Marcelo de Moraes Serpa
2009-10-09 12:54 ` Org-babel for jython? Eric S Fraga
2009-10-09 15:34 ` Dan Davison
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=m28wggvuup.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sebastian_rose@gmx.de \
/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.