Short: Literate programming discipline for C/C++. Authors: Silvio Levy and Donald Knuth Uploader: Andreas Scherer (m604@btm6x1.mat.uni-bayreuth.de) Type: dev/c Files: cweb32p10.lha, cweb32p10.readme This is the portability implementation of Silvio Levy's and Donald E. Knuths's CWEB system, version 3.2 of August 1994, compiled and provided with changefiles for ANSI-C, TURBO-C, and SAS/C 6.x and makefiles for UNIX-make, TURBO-make and SAS-make by Andreas Scherer. It is based on the CWEB 3.1 port by Tomas Willis and the CWEB 2.8 port by Carsten Steger and the CWEB-p 3.0 distribution by Hans-Hermann Bode and Klaus Guntermann, including all features of the original UNIX implementation like ANSI-C and C++ support, full ASCII input capability, and more, plus all enhancements made in these AMIGA, MSDOS, and UNIX ports plus some special features like: - The complete source code is capable of being recompiled with SAS/C for AMIGADOS, with GCC and TURBOC for MSDOS, and with CC, C89, and GCC for UNIX without the need for further changes. - The `gcwebmac.tex' macro package activated by setting the `+g' option includes support for special characters like German umlauts and some frequently used specials according to ISO 8859-1/ECMA-94, IBM PC International Codepage 850, Macintosh 8-bit font table and HP Roman 8. All captions used by CWEB are translated to German in this macro file. - There are TeX macro files `ecma94.tex', `hp8.tex', `mac8.tex', and `pc850.tex' for support of extended code tables. Also included are `ecma94.w', `hp8.w', `mac8.w', and `pc850.w' with appropriate transliteration tables. - Two AREXX scripts for use with the CygnusEd Professional Editor were added to this package, one for CTANGLE and CWEAVE, localized in German and English under AMIGADOS version 2.1 or 3.0, the other for use with the SAS/C 6.x compiler in connection with CED version 3.5. - Both CTANGLE and CWEAVE are localized in German and English with the help of the `locale.library' of AMIGADOS 2.1/3.0. Catalogs for other languages can easily be added. A set of German strings is provided. - An algorithm for recursive `@i'nclude file search was adapted from the TeX and METAFONT implementation. - The `o' option as described in `cwebman.tex' was added in connection with the `i' option by Steger. - Five additional CWEB example programs are included as examples for the portability between PASCAL-WEB and C-CWEB and for the usage of the C++ features of version 3.1. The fifth example program is a simple text converter for files with extended character codes of ISO-Latin-1, PC-850, MAC 8-bit font, and HP 8-bit font. - All three system programs support the `version' information command. - Both CTANGLE and CWEAVE are compiled in the NEAR data segment and can be made resident. - The `m' option enables ARexx communication between CWEB and the SAS/C message browser SCMSG. Any warnings or error messages are transferred to its list window. The behaviour of this feature can be controlled via the external environment variable SCMSGOPT, which may be set to any legal option string as described in the documentation of the SAS/C development system by SAS Institute. This port was done and completely tested with SAS/C version 6.3 and SAS/C++ version 6.51 on the AMIGA. After completion the package was re-ported to various UNIX systems (HP 9000, HP-PA, Sun, SGI) with CC, C89, and GCC, and ported to MSDOS with TURBO-C++ 3.1. Provided that all these ports work successfully, I am quite sure that all bugs have been found and fixed. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 2408 1227 49.0% 12-Aug-94 17:37:32 CWeb/arexx/catalogs/cweb_arexx.cd 1949 978 49.8% 12-Aug-94 17:38:28 CWeb/arexx/catalogs/cweb_arexx.e.ct 366 237 35.2% 12-Aug-94 17:39:08 CWeb/arexx/catalogs/english/cweb_arexx.catalog 5153 2112 59.0% 06-Dec-93 16:05:06 CWeb/arexx/compile.ced 12739 4872 61.7% 12-Aug-94 17:35:32 CWeb/arexx/start_web.ced 9474 2941 68.9% 12-Aug-94 18:09:42 CWeb/bin/catalogs/cweb.cd 14811 4759 67.8% 12-Aug-94 18:10:06 CWeb/bin/catalogs/cweb.d.ct 17558 3710 78.8% 12-Aug-94 18:10:12 CWeb/bin/catalogs/cweb.h 6664 2366 64.4% 12-Aug-94 18:10:34 CWeb/bin/catalogs/deutsch/cweb.catalog 18387 3936 78.5% 12-Aug-94 18:10:26 CWeb/bin/catalogs/gcweb.h 40572 21676 46.5% 12-Aug-94 18:43:48 CWeb/bin/ctangle 64060 32943 48.5% 12-Aug-94 18:43:50 CWeb/bin/cweave 19536 9506 51.3% 12-Aug-94 19:27:38 CWeb/bin/wmerge 776 408 47.4% 14-Mar-94 23:44:02 CWeb/comm-man.ch 2546 1150 54.8% 19-Nov-93 17:29:10 CWeb/comm-vms.ch 36885 10149 72.4% 12-Aug-94 19:46:02 CWeb/common.c 65131 17342 73.3% 12-Aug-94 19:45:32 CWeb/common.ch 8841 2972 66.3% 09-Nov-93 05:10:36 CWeb/common.h 52070 17446 66.4% 19-Jul-94 23:37:34 CWeb/common.w 777 408 47.4% 14-Mar-94 23:44:14 CWeb/ctang-man.ch 1101 527 52.1% 19-Jul-94 23:42:34 CWeb/ctang-vms.ch 36387 9701 73.3% 12-Aug-94 18:11:18 CWeb/ctangle.c 40287 9630 76.0% 12-Aug-94 18:11:14 CWeb/ctangle.ch 54057 18083 66.5% 20-Jul-94 08:30:16 CWeb/ctangle.w 777 408 47.4% 14-Mar-94 23:44:28 CWeb/cweav-man.ch 1138 563 50.5% 19-Jul-94 23:46:08 CWeb/cweav-vms.ch 72350 16292 77.4% 12-Aug-94 19:33:42 CWeb/cweave.ch 161516 52553 67.4% 20-Jul-94 00:09:00 CWeb/cweave.w 3366 1589 52.7% 06-Dec-93 16:05:08 CWeb/cweb.1 8969 3252 63.7% 06-Dec-93 16:05:18 CWeb/cweb.el 4306 1818 57.7% 06-Dec-93 16:05:20 CWeb/cweb.man 3769 1812 51.9% 12-Aug-94 17:54:32 CWeb/cweb32p10.readme 75560 27889 63.0% 14-Mar-94 23:22:12 CWeb/cwebman.tex 11776 3722 68.3% 12-Aug-94 18:50:44 CWeb/cwebmang.ch 27386 8395 69.3% 28-Jul-94 15:12:48 CWeb/examples/cct.w 27740 10135 63.4% 06-Dec-93 16:05:14 CWeb/examples/commonwords.w 1845 800 56.6% 06-Dec-93 16:05:18 CWeb/examples/extex.ch 12417 4749 61.7% 06-Dec-93 16:05:16 CWeb/examples/extex.w 10289 3191 68.9% 06-Dec-93 16:05:16 CWeb/examples/kspell.el 3476 1239 64.3% 12-Aug-94 18:46:28 CWeb/examples/makefile 962 424 55.9% 06-Dec-93 16:05:16 CWeb/examples/makefile.org 18469 6765 63.3% 02-Apr-94 18:03:52 CWeb/examples/matrix.wpp 8027 2111 73.7% 06-Dec-93 16:05:18 CWeb/examples/oemacs.el 38418 15440 59.8% 06-Dec-93 16:05:16 CWeb/examples/oemacs.w 21864 8687 60.2% 02-Apr-94 17:48:22 CWeb/examples/primes.w 4267 1959 54.0% 27-Jul-94 17:29:16 CWeb/examples/readme 2946 1462 50.3% 06-Dec-93 16:05:18 CWeb/examples/readme.org 10192 4086 59.9% 28-Mar-94 18:20:32 CWeb/examples/sample.w 3485 1117 67.9% 06-Dec-93 16:05:16 CWeb/examples/treeprint.ch 6830 2899 57.5% 06-Dec-93 16:05:16 CWeb/examples/treeprint.w 4765 1669 64.9% 06-Dec-93 16:05:14 CWeb/examples/wc.ch 8520 3730 56.2% 06-Dec-93 16:05:16 CWeb/examples/wc.w 1269 592 53.3% 06-Dec-93 16:05:16 CWeb/examples/wordtest.ch 20892 7901 62.1% 06-Dec-93 16:05:14 CWeb/examples/wordtest.w 1858 590 68.2% 06-Dec-93 16:05:16 CWeb/examples/xlib_types.w 5811 1391 76.0% 06-Dec-93 16:05:14 CWeb/examples/xview_types.w 1187 655 44.8% 29-Mar-94 10:48:04 CWeb/include/ecma94.w 1187 671 43.4% 29-Mar-94 10:59:14 CWeb/include/hp8.w 1163 648 44.2% 23-Jun-94 18:59:20 CWeb/include/mac8.w 1183 664 43.8% 29-Mar-94 10:59:34 CWeb/include/pc850.w 1472 644 56.2% 26-Jun-94 16:40:52 CWeb/macros/ccwebmac.tex 15314 5962 61.0% 06-Dec-93 16:05:12 CWeb/macros/cwebmac.tex 8445 2529 70.0% 27-Jul-94 15:46:18 CWeb/macros/ecma94.tex 5653 2270 59.8% 02-Jul-94 10:26:18 CWeb/macros/gcwebmac.tex 7848 2387 69.5% 27-Jul-94 15:46:22 CWeb/macros/hp8.tex 7759 2396 69.1% 27-Jul-94 15:46:26 CWeb/macros/mac8.tex 8288 2517 69.6% 27-Jul-94 15:46:32 CWeb/macros/pc850.tex 6691 2604 61.0% 12-Aug-94 17:31:46 CWeb/makefile.amiga 6454 2382 63.0% 12-Aug-94 19:29:22 CWeb/makefile.pc 7669 2938 61.6% 12-Aug-94 19:30:14 CWeb/makefile.unix 13628 4040 70.3% 31-May-93 03:15:44 CWeb/prod.w 15890 5977 62.3% 12-Aug-94 19:27:32 CWeb/readme 3033 1381 54.4% 12-Aug-94 17:03:40 CWeb/readme.org 15174 4274 71.8% 12-Aug-94 19:26:32 CWeb/wmerge.c 16127 5201 67.7% 12-Aug-94 19:26:26 CWeb/wmerge.ch 25150 8695 65.4% 06-Dec-93 16:05:16 CWeb/wmerge.w -------- ------- ----- --------- -------- 1267105 437144 65.5% 15-Aug-94 23:50:02 76 files