CTAN Comprehensive TeX Archive Network

Direc­tory web/web2w

README
README

This file is part of web2w, Version 0.4

Copyright 2017 Martin Ruckert

web2w is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

web2w is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with web2w.  If not, see <http://www.gnu.org/licenses/>.
 
Martin Ruckert, Hochschule Muenchen, Lothstrasse 64, 80336 Muenchen

You find the license in the file COPYING.TXT in the 
same directory where you find this README file.

The file web2w.pdf is protected by copyright. You may, however,
read the file in its electronic form and may print a copy for
your personal use. You may not use the file for any commercial
purpose. 

The content of the file is available as a book (ISBN 1-548-58234-4)
from CreateSpace:  https://www.createspace.com/7315198
If you need it printed, consider ordering the book.


HOW TO USE web2w

For a description on how to use web2w, see the file web2w.pdf
(or the printed book) in Chapter 11: Generating TeX, Running TeX,
and Passing the Trip Test.

----------------------------------------------
Martin Ruckert
Department of Mathematics and Computer Science
Munich University of Applied Sciences
Lothstrasse 64
80335 Munich
GERMANY

Down­load the con­tents of this pack­age in one zip archive (1.5M).

we­b2w – Con­vert­ing from WEB to cweb

This pack­age con­tains a project to con­vert the source code writ­ten by Don­ald E. Knuth as a WEB into a cweb.

A WEB is a lit­er­ate pro­gram, i.e. a pro­gram which is writ­ten as a form of lit­er­a­ture and con­se­quently pub­lished as a book. Of course there is a way of con­vert­ing such a piece of lit­er­a­ture into an or­di­nary pro­gram: it con­tains Pas­cal code.
Over the years, the sup­port for Pas­cal as a ma­jor pro­gram­ming lan­guage has de­creased and Pas­cal was re­placed by C as the sys­tem pro­gram­ming lan­guage of choice. Con­se­quently, WEB was re­placed by cweb, lead­ing to the ob­vi­ous ques­tion: can we con­vert the source code to cweb. And the an­swer is: yes and no.

No, be­cause is rather a large pro­gram, so trans­lat­ing it man­u­ally is very ex­pen­sive, and trans­lat­ing lit­er­a­ture by means of an au­to­matic pro­cess is not fea­si­ble ei­ther.

Yes, be­cause the pro­gram con­tained in this project, a lit­er­ate pro­gram it­self, is specif­i­cally tai­lored to the source code and achieves a good ap­prox­i­ma­tion to such a trans­la­tion.

Pack­agewe­b2w
Ver­sion0.4
Li­censesGNU Gen­eral Public Li­cense, ver­sion 3 or newer
Main­tainerMartin Ruck­ert
TopicsLit­prog
...
Guest Book Sitemap Contact Contact Author