CTAN update: cweb

CTAN Announcements ctan-ann at ctan.org
Thu Dec 30 03:44:20 CET 2021


Andreas Scherer submitted an update to the

                cweb

package.

Version number: 4.6
License type: knuth

Summary description: A Web system in C

Announcement text:
----------------------------------------------------------------------


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


More information about the Ctan-ann mailing list