emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org babel support for tcl and awk


From: address@hidden
Subject: Re: [O] org babel support for tcl and awk
Date: Tue, 24 May 2011 20:57:20 +0200
User-agent: DDS webmail

Hi Eric,

yes I am aware of op-template and tried to use it. However it was not clear to me how to proceed and I looked into ob-perl, ob-ruby, ob-scheme and ob-python. But it seemed to me they use a different structure than op-template and I was stuck. I also saw that the file ob-template is documented, however I am not so good in org-emacs-speak that I can decipher it.

Really thanks for the awk example, I will tru to study it.

thanks.

Quoting Eric Schulte <address@hidden>:

Hi,

Are you aware of the ob-template.el file [1], which can be used as a
jumping off point to simplify the addition of new languages?  After
globally replacing the term "template" with you language name, the only
function that necessarily needs to be re-written is the main
`org-babel-execute:template' function.

I would recommend starting with only non-session based evaluation, and
then slowly adding functionality.  If you run into any specific problems
I am happy to help trouble shoot.

As an example, I've worked up an very simple ob-awk.el file from
ob-template.el, it is attached along with an example org-mode file which
demonstrates its usage.

Best -- Eric








reply via email to

[Prev in Thread] Current Thread [Next in Thread]