"Eric Schulte" <schulte.e...@gmail.com> writes: > Bastien <bastiengue...@googlemail.com> writes: > >> "Eric H. Neilsen, Jr." <neil...@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 _______________________________________________ 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