literate programming in ansi-c/c++
cwebbin is the ansi-c/c++ implementation of silvio levy's and donald ervin knuth's cweb system. it requires the contents of [the original source drop](https://www.ctan.org/tex-archive/web/ccpp/cweb/cweb.tar.gz), to which it applies a set of change files to fix warnings issued by modern c/c++ compilers and to introduce advanced features. see the extensive readme for the full story.
extract cwebbin-22p.tar.gz and add the contents of cweb-3.64af.tar.gz for the full set of source files. unix/linux users should work with make -f Makefile.unix exclusively (targets ‘boot,’ ‘cautiously,’ and ‘all’).
alternatively, you may want to use rpmbuild or debbuild for compiling the sources and for creating installable packages in rpm and deb format. clone cweb and cwebbin, create the source drops with
git archive -o cweb-3.64af.tgz cweb-3.64af git archive -o cwebbin-22p.tar.gz cwebbin-22p
respectively, put these two tarballs in the SOURCES directory and cwebbin.spec in the SPECS directory of your build arena, and run
rpmbuild -ba SPECS/cwebbin.spec debbuild -ba SPECS/cwebbin.spec
depending on your preferences.
if all you want is plain vanilla cweb without any add-ons and minus heaps of compiler warnings, switch to the cweb-ansi branch and proceed as described.
cwebbin – CWEB for ANSI-C/C++ compilers on UNIX/Linux, MS/Windows, and Amiga
A highly portable and slightly extended version of cweb for Unix, MS-Windows32, and Amiga (and possibly other operating systems). TeX macros and CWEB macros are provided for German, French, and Italian program documentation on any machine. Comes with binaries. Note that the file cwebbin-p14.tar.gz contains Amiga binaries that are not found in later versions.
|License||Public Domain Software|
|Copyright||1993–2000,2005,2011,2016 Andreas Scherer|