delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/02/05/08:17:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Cesar Rabak <crabak AT acm DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: array indices [i][j]
Date: Thu, 05 Feb 2004 11:06:23 -0200
Lines: 64
Message-ID: <40223FCF.3050401@acm.org>
References: <3405-Wed04Feb2004202510+0200-eliz AT elta DOT co DOT il> <20040205031240 DOT 25284 DOT 00000313 AT mb-m16 DOT aol DOT com> <bvt08h$b0p$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
NNTP-Posting-Host: 200.234.106.242
Mime-Version: 1.0
X-Trace: news.uni-berlin.de 1075986392 32793562 I 200.234.106.242 ([39218])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: pt-br, pt
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hans-Bernhard Broeker escreveu:
> Sterten <sterten AT aol DOT com> wrote:
> 
> 
[snipped]

>>that reminds me to Don Knuth's programs.
> 
> [...]
> 
>>because he uses an own,unusual language similar to C but with some
>>special "macros".
> 
> 
> I think you have not the slightest idea what you're talking about.
> That "C with some special macros" you're talking about is actually
> Knuth's own special programming tool "Web", which is actually not C at
> all, but Pascal, and intermixed with TeX for internal documentation.
> 

I'm affraid you as well, Hans, went too far on this comment. From the 
page referenced, in the link 
http://www-cs-faculty.stanford.edu/~knuth/cweb.html please read:

<quote>
.
.
.
CWEB is a version of WEB for documenting C, C++, and Java programs. WEB 
was adapted to C by Silvio Levy in 1987, and since then both Knuth and 
Levy have revised and enhanced the system in many ways, notably to 
support C++ and ANSI C. Thus CWEB combines TeX with today's most widely 
used professional programming languages.

If you are in the software industry and do not use CWEB but your 
competitors do, your competitors will soon overtake you---and you'll 
miss out on a lot of fun besides.

More comments about CWEB can be found in Daniel Mall's website for 
Literate Programming.

This book is the definitive user's guide and reference manual for the 
CWEB system. The CWEB software itself is freely available via anonymous 
ftp from labrea.stanford.edu, in directory ~ftp/pub/cweb. It consists of 
two programs:

CTANGLE
converts a source file foo.w to a compilable program file foo.c; CWEAVE
converts a source file foo.w to a prettily-printable and cross-indexed 
document file foo.tex.

Both CTANGLE and CWEAVE are stable, well-tested, and highly portable. 
They have been installed on a wide variety of computers and operating 
systems.
.
.
.
</quote>

HTH

--
Cesar Rabak

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019