Go to the first, previous, next, last section, table of contents.


Tangle: Translate WEB to Pascal

Tangle creates a compilable Pascal program from a WEB source file (see section WEB: Literate programming). Synopsis:

tangle [option]... webfile[.web] [changefile[.ch]]

The Pascal output is written to the basename of webfile extended with `.p'; for example, `tangle /wherever/foo.web' creates `./foo.p'. Tangle applies changefile to webfile before writing the output; by default, there is no change file.

If the program makes use of the WEB string facility, Tangle writes the string pool to the basename of webfile extended with `.pool'.

The Pascal output is packed into lines of 72 characters or less, with the only concession to readability being the termination of lines at semicolons when this can be done conveniently.

The only options are `--help' and `--version' (see section Common options).


Go to the first, previous, next, last section, table of contents.