CTAN update: cweb
This new release of CWEB 4.6 comes with the following major changes compared to version 4.2: * ANSI function parameters are (doubly) indented just like K&R function parameters by default, so there is no need for @t\1\1@> and @\2\2@> anymore; use option '-i' to suppress the indentation. * New include file 'iso_types.w' in combination with 'c++lib.w'. * The internal array dimensions of CWEB 3.64c are restored. * @d/#define/#include lines are formatted more consistently (spacing, '#' non-bold). * Additional C/C++ features: - [[attributes]] - hex exponents: 0x10p3 - digit separator: 1'000'000; use option '+k' to "keep '" in the CTANGLE output - keywords from 'alignas' to 'using' acknowledged - binary constants: 0b10111 * Production functions 'squash' and 'reduce' were redesigned by swapping special case 'k=1'->'k=0' * 'typename' handled like 'typedef' in C++ templates with option '+t' * Fixes and redactions * General code review
This package is located at https://mirrors.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 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.
|Copyright|| Silvio Levy and Donald E. Knuth|
Donald E. Knuth (inactive)
Silvio Levy (inactive)