CTAN Comprehensive TeX Archive Network

New on CTAN: web2w

Date: August 5, 2017 2:06:13 PM CEST
Martin Ruckert submitted the web2w package. Version: 0.4 License: gpl3+ Summary description: Converting TeX from WEB to cweb Announcement text:
This package contains a project to convert the TeX source code written by Donald E. Knuth as a WEB into a cweb. A WEB is a literate program, that is a program which is written as a form of literature and consequently published as a book. Of course there is a way of converting such a piece of literature into an ordinary program: it contains Pascal code. Over the years, the support for Pascal as a major programming language decreased and Pascal was replaced by C as the system programming language of choice. Consequently, WEB was replaced by cweb, leading to the obvious question: can we convert the TeX source code to cweb. And the answer is: yes and no. No, because TeX is a rather large program, so it is very expensive to translate it manually, and translating literature by means of an automatic process is not feasible either. Yes, because the program contained in this project, a literate program itself, is specifically tailored to the TeX source code and achieves a good approximation to such a translation.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/web2w The package’s files themselves can be inspected at http://mirror.ctan.org/web/web2w/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .

web2w – Converting from WEB to cweb

This package contains a project to convert the source code written by Donald E. Knuth as a WEB into a cweb.

A WEB is a literate program, i.e. a program which is written as a form of literature and consequently published as a book. Of course there is a way of converting such a piece of literature into an ordinary program: it contains Pascal code.
Over the years, the support for Pascal as a major programming language has decreased and Pascal was replaced by C as the system programming language of choice. Consequently, WEB was replaced by cweb, leading to the obvious question: can we convert the source code to cweb. And the answer is: yes and no.

No, because is rather a large program, so translating it manually is very expensive, and translating literature by means of an automatic process is not feasible either.

Yes, because the program contained in this project, a literate program itself, is specifically tailored to the source code and achieves a good approximation to such a translation.

Packageweb2w
Version0.4
Copyright2017 Martin Ruckert
MaintainerMartin Ruckert

Announcements

more

Guest Book Sitemap Contact Contact Author