Index of /web/cweb

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[TXT]Makefile21-Feb-2016 23:00 4.9K 
[   ]c++lib.w08-May-2000 23:00 1.6K 
[TXT]comm-amiga.ch20-Apr-1994 23:00 544  
[TXT]comm-bs.ch01-Aug-1994 23:00 6.2K 
[TXT]comm-mac.ch01-Feb-2002 00:00 5.2K 
[TXT]comm-man.ch01-Feb-2002 00:00 782  
[TXT]comm-os2.ch09-May-1995 23:00 701  
[TXT]comm-pc.ch01-Aug-1994 23:00 937  
[TXT]comm-ql.ch01-Feb-2002 00:00 11K 
[TXT]comm-vms.ch20-Apr-1994 23:00 2.5K 
[TXT]comm-w32.ch14-Feb-2002 00:00 3.3K 
[TXT]common.c18-Feb-2017 00:23 22K 
[TXT]common.h18-Feb-2017 00:27 8.7K 
[TXT]common.w18-May-2016 22:00 51K 
[TXT]ctang-bs.ch18-May-2016 22:00 7.1K 
[TXT]ctang-man.ch01-Feb-2002 00:00 783  
[TXT]ctang-pc.ch01-Feb-2002 00:00 958  
[TXT]ctang-ql.ch01-Feb-2002 00:00 459  
[TXT]ctang-vms.ch01-Feb-2002 00:00 1.1K 
[TXT]ctang-w32.ch14-Feb-2002 00:00 1.6K 
[TXT]ctangle.c18-Feb-2017 00:23 30K 
[TXT]ctangle.w18-Feb-2017 00:16 54K 
[TXT]cweav-bs.ch21-Oct-2008 22:00 8.7K 
[TXT]cweav-man.ch01-Feb-2002 00:00 783  
[TXT]cweav-pc.ch01-Feb-2002 00:00 1.1K 
[TXT]cweav-ql.ch01-Feb-2002 00:00 483  
[TXT]cweav-vms.ch01-Feb-2002 00:00 1.1K 
[TXT]cweav-w32.ch14-Feb-2002 00:00 1.4K 
[TXT]cweave.w14-Nov-2016 16:12 165K 
[   ]cweb-3.64.tar.gz11-Jul-2002 23:00 207K 
[   ]cweb-3.64a.tar.gz04-Apr-2005 23:00 219K 
[   ]cweb-3.64aa.tar.gz06-Dec-2005 00:00 219K 
[   ]cweb-3.64ab.tar.gz19-Jul-2006 23:00 227K 
[   ]cweb-3.64ac.tar.gz31-Aug-2006 23:00 219K 
[   ]cweb-3.64ad.tar.gz23-Oct-2006 23:00 219K 
[   ]cweb-3.64ae.tar.gz20-Jan-2016 03:51 262K 
[   ]cweb-3.64af.tgz22-Feb-2016 19:44 208K 
[   ]cweb-3.64ag.tgz13-May-2016 14:21 208K 
[   ]cweb-3.64ah.tgz18-May-2016 22:27 208K 
[   ]cweb-3.64ai.tgz16-Nov-2016 17:19 208K 
[   ]cweb-3.64b.tar.gz18-Feb-2017 00:32 208K 
[   ]cweb.122-Apr-2002 23:00 3.8K 
[   ]cweb.el23-Feb-2013 23:00 8.5K 
[   ]cweb.tar.gz18-Feb-2017 00:32 208K 
[   ]cwebmac.tex21-Feb-2016 23:00 26K 
[   ]cwebman.tex14-Nov-2016 17:05 82K 
[DIR]examples/16-Nov-2016 23:02 -  
[TXT]makefile.bs01-Aug-1994 23:00 1.5K 
[TXT]prod.w09-May-2000 23:00 15K 
[TXT]readme.ql13-Nov-1995 00:00 2.8K 

% This file is part of CWEB.
% The CWEB programs by Silvio Levy are based on programs by D. E. Knuth.
% They are distributed WITHOUT ANY WARRANTY, express or implied.
% This README file last updated January 2016 by Don Knuth

% Copyright (C) 1987,1990,1993,2000,2016 Silvio Levy and Donald E. Knuth

% Permission is granted to make and distribute verbatim copies of this
% document provided that the copyright notice and this permission notice
% are preserved on all copies.

% Permission is granted to copy and distribute modified versions of this
% document under the conditions for verbatim copying, provided that the
% entire resulting derived work is given a different name and distributed
% under the terms of a permission notice identical to this one.

% Please send comments, suggestions, etc. to, and people
% there will verify and forward bug reports.
% DEK takes no responsibility for the changefiles; they should be
% maintained independently. His job is to correct errors in
% ctangle.w, cweave.w, prod.w, common.w, cwebmac.tex, cwebman.tex,
% and in the files of examples/*.w, nothing more.

This directory contains the following files:


The file cwebman.tex is the user manual.
The examples directory contains additional examples of the use of CWEB.
The files common.c and ctangle.c are used for bootstrapping.
The file cweb.1 is a manual page.
The file cweb.el is suggested for GNU-Emacs users.
The file c++lib.w is for C++ users (say `@i c++lib.w' at beginning of program).
The files * are used if you want to make the full 239-page CWEB manual.
The files * are used instead of * if you are doing BIG programs.
You can use to make CWEB with *
The files * are for QDOS/SMSQ systems; see readme.ql for further info.
The files * use __fastcall conventions on win32 systems.
The file is for Macintosh conventions.
The other files named *.ch are sample change files for local customization.

IMPORTANT: Please touch *.c before proceeding.
Then edit the opening lines of Makefile so that it has the proper
directory information for your local system.

To make ctangle and cweave say `make all'; this should produce roughly
the following actions (possibly with harmless warning messages from cc):

cc -g -w -c ctangle.c
cc -g -w -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
cc -g -o ctangle ctangle.o common.o 
./ctangle cweave
cc -g -w -c cweave.c
cc -g -w -o cweave cweave.o common.o

To get some reassurance that things are OK, you can say `make cautiously',
which ensures that CTANGLE will reproduce itself. (Otherwise the source
files common.w and ctangle.w won't actually have been used.)

To install cweave and ctangle say `make install'. You probably need to
be superuser to do this; but it's wise to `make all' first, BEFORE
becoming superuser and saying `make install'.

Note that change files for VMS, AMIGA, MAC, and PCs are provided.  When you
are first bootstrapping to a new system, you may need to edit common.c and
ctangle.c by hand, but the vast majority of the change-file changes are
minor refinements that are not necessary for a rudimentary ctangle.

These archival sources are maintained only to the extent of fixing
significant bugs that were unintended at the time of writing.
A multi-decade ongoing project to improve and extend CWEB can be found at