From: "Eric Schulte" <schulte.eric@gmail.com>
To: Bastien <bastienguerry@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: A tool for creating source code files from example and src blocks in org files
Date: Sat, 27 Jun 2009 13:31:29 -0700 [thread overview]
Message-ID: <m2skhl8llq.fsf@gmail.com> (raw)
In-Reply-To: <m24ou2hkm5.fsf@gmail.com> (Eric Schulte's message of "Fri, 26 Jun 2009 12:15:46 -0700")
"Eric Schulte" <schulte.eric@gmail.com> writes:
> Bastien <bastienguerry@googlemail.com> writes:
>
>> "Eric H. Neilsen, Jr." <neilsen@fnal.gov> writes:
>>
>>> Is there any interest in this?
>>
>> Yes. It's been a long time I want to use Org for literate programming,
>> I think it's just the right tool to do this.
>>
>> Please send any code we can test!
>>
>>> (If anyone feels like rewriting it, that would be even better; aside
>>> from a fairly straightforward .emacs, this is my first ever lisp code,
>>> so it is likely to need cleaning and refactoring.)
>>
>> I may help if I have some time.
>
> I have started re-implementing this as part of org-babel [1], please
> checkout the "tangle" branch [2] of org-babel for source-code and more
> information.
>
This tangle implementation has now reached an initial level of
functionality. It is able to extract blocks from an org-mode file by
language and by session (which has a specific meaning in org-babel) and
create source-code files.
This doesn't yet have support for fine-grained control for inserting
into specific locations of source-code files, and I'm not familiar
enough with literate programming to know the best way to structure such
support.
This is now merged into the master branch of org-babel. To give it a
try, open the test-tangle.org file in the base of the repo, and run
`org-babel-tangle'.
Best -- Eric
>
> Cheers -- Eric
>
> Footnotes:
> [1] http://github.com/eschulte/org-babel/tree/master
>
> [2] http://github.com/eschulte/org-babel/tree/tangle
next prev parent reply other threads:[~2009-06-27 20:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 18:50 A tool for creating source code files from example and src blocks in org files Eric H. Neilsen, Jr.
2009-06-03 8:53 ` Chris Gray
2009-06-16 14:03 ` Bastien
2009-06-26 19:15 ` Eric Schulte
2009-06-27 20:31 ` Eric Schulte [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-03 13:27 Eric H. Neilsen, Jr.
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=m2skhl8llq.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=bastienguerry@googlemail.com \
--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).