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 <schulte.e...@gmail.com>:

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