Article View: comp.archives
Article #341[comp.lang.c] C version of WEB (was: What is Literate Programming?)
From: Bob "Genghis" Khan
Date: Mon, 15 Jan 1990 21:45
Date: Mon, 15 Jan 1990 21:45
33 lines
2411 bytes
2411 bytes
Archive-name: cnoweb/15-Jan-90
Original-posting-by: khan@milton.acs.washington.edu (Bob "Genghis" Khan)
Original-subject: C version of WEB (was: What is Literate Programming?)
Archive-site: blake.u.washington.edu [128.95.136.2]
Archive-directory: /pub/TeX/cnoweb
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)
In article <1990Jan12.021006.2395@agate.berkeley.edu> cotner@brahms.berkeley.edu (Carl Cotner) writes:
>... I believe that TeX is stored in a web file, which combines source code
>with documentation, in accordance with his belief that the 2 should be
>closely integrated.
>
>I'm very interested in this. I would look into web, only I believe that
>web will extract a Pascal file. I'm more interested in working on a
>C based project. Is there a C version of WEB?
I admit I haven't made use of it beyond trying the demo document, but I there's
a file called cnoweb.tex written by a Jim Fox (fox@cac.washington.edu) here at
UW. It sets code in cmtt (fixed-pitch typewriter style) and allows comments in
cmr (roman, with any symbols and math formulae (!) you like); however, it
doesn't map assignments to special symbols (WEB turns := into TeX's arrow
symbol ...) Since all TeX commands go in comments, a cnoweb-formatted source
will compile. There's a demo program called pf.c also, they are available by
anonymous FTP on blake.u.washington.edu in directory /pub/TeX/cnoweb. If
anyone can't do anon-FTP, I'll mail them to you.
----------------------------------------------------------------------
"indecipherable strangers handing out inexplicable humiliation and an
unidentified army of horsemen laughing at him in his head ..."
-- Douglas Adams
Erik Seaberg (khan@milton.u.washington.edu)
Technical Details
Message-ID:
<10656@stag.math.lsa.umich.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!math.lsa.umich.edu!emvReferences:
<1990Jan12.021006.2395@agate.berkeley.edu> <1389@milton.acs.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!math.lsa.umich.edu!emv From: khan@milton.acs.washington.edu (Bob "Genghis" Khan) Newsgroups: comp.archives Subject: [comp.lang.c] C version of WEB (was: What is Literate Programming?) Message-ID: <10656@stag.math.lsa.umich.edu> Date: 15 Jan 90 21:45:37 GMT References: <1990Jan12.021006.2395@agate.berkeley.edu> <1389@milton.acs.washington.edu> Sender: news@math.lsa.umich.edu Reply-To: khan@milton.acs.washington.edu (Erik Seaberg) Followup-To: comp.lang.c Lines: 33 Approved: emv@math.lsa.umich.edu (Edward Vielmetti)