CTAN Comprehensive TeX Archive Network

CTAN update: cweb

Date: February 27, 2021 9:40:45 PM CET
Andreas Scherer submitted an update to the cweb package. Version number: 4.2 License type: knuth Summary description: A Web system in C Announcement text:
In the course of the "2021 TeX tuneup", Don Knuth kindly transferred the responsibility for CWEB to me; see the original CWEB home page (https://www-cs-faculty.stanford.edu/~knuth/cweb.html), section "CWEB 4.0". This first new release draws heavily on the multi-decade work collected in my "CWEBbin" project (https://github.com/ascherer/cwebbin). I moved (almost) all stuff from the "*-patch.*" changefiles into the new CWEB sources and applied all of the "*-ansi.*" changes as well. Moreover, I made "common.h" the full interface of "common.w" in order to avoid code redundancy. And I tried to fix as many of the bugs reported by email to DEK and/or tex-k at tug.org. In total, "make; make cautiously; make fullmanual" runs flawlessly with GCC on Linux and with CLang on MacOS. And with the help of the remaining stuff in the "CWEBbin" project, "CWEB" is smoothly integrated in "TeX Live".
This package is located at http://mirror.ctan.org/web/c_cpp/cweb More information is at https://www.ctan.org/pkg/cweb
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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.

Copyright Silvio Levy and Donald E. Knuth
MaintainerAndreas Scherer
Donald E. Knuth (inactive)
Silvio Levy (inactive)



Guest Book Sitemap Contact Contact Author