From: marcus (Marcus Speh)
To: LitProg@SHSU.edu
Subject: Re: Current View of LitProg
Date: Thu, 15 Apr 93 19:06:28 +0200
[...] I was told by Tim Berners-Lee (who started the World Wide Web
project) that the www hypertext line mode browser (version 2.0) is capable
of "Literate Programming" as well. This is part of his original message:
BTW ... did you know you can now literate program in
HTML, by using (the latest)
www -to text/x-c xxx.html > xxx.h
to reformat the document as C, with everything except PRE sections
commented out? I used txt2html.sed to make
the original .html, then I used the nextstep editor to format the
file nicely.
"text/x-c" is an experimental (x-) MIME content type.
The "-to" and "-from" options take (from a limited set) a MIME
content type value. You need version 2.0 or later.
It's not documented yet. See
HERE
for an example header file.
I dont have www 2.0, and no time to bring it up now, but maybe someone
who's experimenting with HyperText [HTML] wants to give it a try. All
the source is (on the Web and) on info.cern.ch in pub/www.
Note: the NeXTStep editor is not essential. There is also an Emacs mode
to format HTML documents nicely.