CTAN Comprehensive TeX Archive Network

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 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 ( Live only)

and it provides tools to bundle packages for various target systems.

Home pagehttps://github.com/ascherer/cweb
LicensesKnuth License
Copyright1987,1990,1993,2000,2016,2017,2021 Silvio Levy and Donald E. Knuth
MaintainerDonald E. Knuth
Andreas Scherer
Silvio Levy (inactive)
Contained inTeX Live as cweb
MiKTeX as miktex-cweb-bin-2.9

Download the contents of this package in one zip archive (552.5k).

Community Comments



Here you can see a respective diagram in newer browsers.


Package Links

Guest Book Sitemap Contact Contact Author