Package texlive-web

original web programs tangle and weave

http://tug.org/texlive/

The system processes 'web' files in two ways: firstly to
rearrange them to produce compilable code (using the program
tangle), and secondly to produce a TeX source (using the
program weave) that may be typeset for comfortable reading.

General Commands
Command Description
tangle translate WEB to Pascal
weave translate WEB to TeX