CTAN Comprehensive TeX Archive Network

An­nounce­ments for we­b2w

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.

Copy­right2017 Martin Ruck­ert
Main­tainerMartin Ruck­ert

Atom Atom 1.0 feed with an­nounce­ments for pack­age we­b2w.
RSS RSS 2.0 feed with an­nounce­ments for pack­age we­b2w.

Guest Book Sitemap Contact Contact Author