* Babel vs. Doxygen? @ 2012-03-29 1:45 Michael Hannon 2012-03-29 8:04 ` Sebastien Vauban 2012-03-31 14:26 ` Eric Schulte 0 siblings, 2 replies; 4+ messages in thread From: Michael Hannon @ 2012-03-29 1:45 UTC (permalink / raw) To: Org-Mode List Greetings. I just ran across an article about Doxygen [1], and I'm trying to understand if there's any intersection between Doxygen/Roxygen and Org mode Babel, both of which seem to have literate programming as a goal. Any thoughts about this? Thanks. -- Mike ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Babel vs. Doxygen? 2012-03-29 1:45 Babel vs. Doxygen? Michael Hannon @ 2012-03-29 8:04 ` Sebastien Vauban 2012-03-29 15:50 ` Michael Hannon 2012-03-31 14:26 ` Eric Schulte 1 sibling, 1 reply; 4+ messages in thread From: Sebastien Vauban @ 2012-03-29 8:04 UTC (permalink / raw) To: emacs-orgmode-mXXj517/zsQ Hi Michael, Michael Hannon wrote: > Greetings. I just ran across an article about Doxygen [1], and I'm trying to Forgotten footnote? > understand if there's any intersection between Doxygen/Roxygen and Org mode > Babel, both of which seem to have literate programming as a goal. Any > thoughts about this? Thanks. It just is completely different: with Babel, you put code blocks inside documentation to be read by a human. With Doxygen and the like, you put special comments (for generating doc) inside your code. That's the opposite! You could view it as more or less equal, but it's not. LP allows you to make a documentation, and spread code blocks in any order inside it, in the order which make more sense for the user to understand your strategy, method, etc. LP allows you also to write a block of code once, and reuse it (even with parameters) in multiple places, avoiding copy/pasted code for languages where such a thing is sometimes difficult to avoid (SQL, Makefile, etc.), or where avoiding it would make the code even much more complex. These two last arguments are simply not applicable for Doxygen. Best regards, Seb -- Sebastien Vauban ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Babel vs. Doxygen? 2012-03-29 8:04 ` Sebastien Vauban @ 2012-03-29 15:50 ` Michael Hannon 0 siblings, 0 replies; 4+ messages in thread From: Michael Hannon @ 2012-03-29 15:50 UTC (permalink / raw) To: Sebastien Vauban, emacs-orgmode@gnu.org On Thursday, March 29, 2012 at 1:04 AM Sebastien Vauban wrote: > Michael Hannon wrote: >> Greetings. I just ran across an article about Doxygen [1], and I'm >> trying to > > Forgotten footnote? Hi, Seb. Yep, the footnote appears in my draft message but not in the final message. Don't know what happened. I'm sure this isn't a mystery to anybody, but here's the reference: [1] http://www.doxygen.org/ >> understand if there's any intersection between Doxygen/Roxygen and Org mode >> Babel, both of which seem to have literate programming as a goal. Any >> thoughts about this? Thanks. > > It just is completely different: with Babel, you put code blocks inside > documentation to be read by a human. > > With Doxygen and the like, you put special comments (for generating doc) > inside your code. That's the opposite! > > You could view it as more or less equal, but it's not. LP allows you to make > a documentation, and spread code blocks in any order inside it, in the order > which make more sense for the user to understand your strategy, method, etc. > > LP allows you also to write a block of code once, and reuse it (even with > parameters) in multiple places, avoiding copy/pasted code for languages > where such a thing is sometimes difficult to avoid (SQL, Makefile, etc.), or > where avoiding it would make the code even much more complex. > > These two last arguments are simply not applicable for Doxygen. Thanks, this all makes good sense to me. I guess I was basically wondering if people were routinely using some combination of Doxygen and Org mode -- maybe including Doxygen markup inside the Org file, then running doxygen on the tangled output or ... This is evidently not a common/useful way of working. -- Mike ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Babel vs. Doxygen? 2012-03-29 1:45 Babel vs. Doxygen? Michael Hannon 2012-03-29 8:04 ` Sebastien Vauban @ 2012-03-31 14:26 ` Eric Schulte 1 sibling, 0 replies; 4+ messages in thread From: Eric Schulte @ 2012-03-31 14:26 UTC (permalink / raw) To: Michael Hannon; +Cc: Org-Mode List Michael Hannon <jm_hannon@yahoo.com> writes: > Greetings. I just ran across an article about Doxygen [1], and I'm trying to > understand if there's any intersection between Doxygen/Roxygen and Org mode > Babel, both of which seem to have literate programming as a goal. Any > thoughts about this? Thanks. > > -- Mike > Inline API documentation tools can be thought of as a very simple form of literate programming. These tools are addressed in the paper on code block behavior in Org-mode. See http://www.jstatsoft.org/v46/i03 Best, -- Eric Schulte http://cs.unm.edu/~eschulte/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-31 16:27 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-03-29 1:45 Babel vs. Doxygen? Michael Hannon 2012-03-29 8:04 ` Sebastien Vauban 2012-03-29 15:50 ` Michael Hannon 2012-03-31 14:26 ` Eric Schulte
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.