CWEAVE
Convert CWEB Files to TeX Files
CWEAVE
is a C program which
reads a CWEB file and creates
the corresponding TeX file which can be used as documentation.
CWEAVE is available in
a C version.
Related Data and Programs:
CTANGLE
is a C program which
reads a CWEB file and creats the corresponding C program file.
SGB
is a collection of C libraries by Donald Knuth which implement
and demonstrate a variety of combinatorial algorithms. The
program files were written originally in CWEB, and "detangled" using CTANGLE.
Author:
Donald Knuth
Reference:
-
Donald Knuth,
The Stanford Graph Base: A Platform for Combinatorial Computing,
ACM Press, 1993,
ISBN: 0201542757,
LC: QA164.K6.
Source Code:
CWEAVE is the main program.
-
cweave.w,
the CWEB source code.
-
cweave.c,
the C source code, created by CTANGLE.
COMMON is a utility library.
-
common.w,
the CWEB source code
-
common.c,
the C source code created by CTANGLE.
-
common.inc,
the CWEB version of the include file.
-
common.h,
the include file created by CTANGLE.
Auxilliary files include:
Here is the command file:
-
cweave.csh,
calls CTANGLE to create CWEAVE.C, COMMON.C and COMMON.H, compiles the
files, and creates the CWEAVE executable.
You can go up one level to
the C source codes.
Last revised on 25 June 2008.