WEB (programming language)

from Wikipedia, the free encyclopedia

WEB is a programming language developed by Donald Knuth . It should implement the idea of ​​" literate programming " that program code and documentation are contained in one file.

The WEB system essentially consists of two programs:

  • tangle creates a Pascal file from the WEB source file,
  • weave creates the documentation as a TeX file.

WEB is based on Pascal . Variants have also been developed that are based on other programming languages. Nevertheless, WEB's popularity has always remained low.

The programs TeX and Metafont are written in WEB.

A newer version of WEB called CWEB , which was written in the C programming language , has also existed since the early 1990s .

Web links