cweb – A Web system in C
The CWEB system is a system for literate programming, also known as structured software documentation, with code written in the C and C++ languages.
People have been accumulating several decades of experience with CWEB, and CTANGLE and CWEAVE are known to work reasonably well on numerous platforms. In general those programs are now entirely stable: DEK won't be changing them any more, because they've proved their value in extensive use. (Henceforth he must devote full time to “The Art of Computer Programming”!)
However, further significant developments, including versions that DEK himself does not maintain, are ongoing. All of the really current news about CWEB is, in fact, now to be found in the CWEB development project, thanks to the tireless activities of Andreas Scherer.
The first new release under his auspices incorporates the majority of material from his CWEBbin project, namely all the patches accumulated over many years, and all the changes for ANSI-C. What's left in CWEBbin are a few extensions used in TeX Live:
- includes CTWILL and its utilities
- internationalization with the “GNU gettext utilities”
- output is only written when different from the former run
- new options -l, -i, and -o for CWEAVE and CTWILL
- file lookup with the kpathsea library (TeX Live only)
and it provides tools to bundle packages for various target systems.
| Silvio Levy and Donald E. Knuth
Donald E. Knuth (inactive)
Silvio Levy (inactive)
|TeX Live as cweb
MiKTeX as miktex-cweb-bin-2.9
Download the contents of this package in one zip archive (568.1k).
Maybe you are interested in the following packages as well.
- cwebx: A system for Structured Software Documentation in C
- cnoweb: Simple "quality" printing of C sources
- cwebhy: Insert hyperlinks for included files
- knit: Tangle and weave with multiple change files