CTAN Comprehensive TeX Archive Network

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.

Sources/web/web2w
Documentation
Version0.4
LicensesGNU General Public License, version 3 or newer
Copyright2017 Martin Ruckert
MaintainerMartin Ruckert
TopicsLitprog

Download the contents of this package in one zip archive (1.5M).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author