On Fri, Jun 24, 2011 at 4:40 PM, Henry Schurkus
<[email protected]> wrote:
> You two make it sound as if I was ages behind the state of the art. What
> would you use nowadays to do literate programming (in C)?

My apologies for the delay in responding.

I'd just use Leo, with Leo's noweb-like markup.  This will be a far
easier alternative than using an external toolset like CWEB, or noweb,
for that matter.

To be clear, it's not the markup that matters, its Leo's automatic
read/write code (tangling/untangling in Knuth's terminology).

Or perhaps you could say that it is the *lack* of markup that matters.
 One of my first Aha's with Leo is that formatting is a pathetically
weak substitute for seeing program structure.  I used to discuss this
in more detail at: http://webpages.charter.net/edreamleo/design.html.

The point is that any effort formatting code **for the sake of
understanding it** is almost precisely completely wasted.  True, CWEB
can be used to publish algorithms, or (especially) complete programs,
but that doesn't happen often, and even when it does, all the fancy
typesetting is simply no substitute for seeing outline structure.

In short, Leo outlines will give you much *more* than CWEB, or any
other external literate programming tool, with much more convenience.

HTH.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to