Hello Tim,

> Knuth originally created an idea of literate programming
> where you embed source code into latex documents. He called
> such documents "web" documents (because nobody had yet used
> the word "web").

Thanks for passing along your code. I have some familiarity with
noweb. I use Sweave every day (R's noweb implementation), though not
for many of its more advanced features. I specifically avoided the
using the phrase "literate programming" for a few reasons:

1. I have never defined chunks in different orders than they should
execute. I have no need for this feature. As I understand it, out-of-
order chunks are a cornerstone of the lit. prog. model.

2. Insofar as "literate programming" implies "noweb", I dislike the
<<>>=/@ syntax. Moreover, this syntax requires a smarter parser to
understand any options inside the <<...>>= directives. My parser is
dumb. My insight is that I can do the same things as <<echo = TRUE>>=
through a macro (output-forms ...). The system is extensible, unlike
noweb.

3. Insofar as "literate programming" implies "LaTeX," while I write a
lot of TeX, I intend to use this system for blog posts, README files,
perhaps even inline documentation as mentioned above. My experience
with Sweave shows that writing other document types is not the
default. Perhaps there is an option to not inject \Schunk{...} into
my .txt files, but changeling is designed from the group up to support
many different output contexts.

I may be reinventing the wheel, but mine has bling rims. ;-)

-Mark

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to