TangleDoc.tioga
Pavel, May 10, 1985 5:13:56 pm PDT
TANGLE
CEDAR 6.0 — FOR INTERNAL XEROX USE ONLY
Tangle
A WEB-to-Pascal Translator
Donald E. Knuth (moved to Cedar by Pavel Curtis)
© Copyright 1985 Xerox Corporation. All rights reserved.
Abstract: Tangle is the program which translates WEB programs into legal Pascal. More information can be gotten from the WEB Users Manual, a copy of which Pavel owns.
Keywords: WEB, Pascal, PasMesa, compiler, translator
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
1. Using Cedar Tangle
To use Tangle in Cedar, you need two files: a WEB source file, named something like Foo.web, and a file of changes to the source, named Foo.changes.
The formats of these files are mostly described in the WEB Users Manual. The only point that's different in Cedar is that Tioga comment nodes can be liberally spread through the file with abandon. Tangle is an entirely naive file reader and won't see them at all.
Given these files, the command ``Tangle Foo'' will be sufficient to create the output file, Foo.pas.
All error messages in Cedar Tangle are given with character positions suitable for use with the Tioga Position button.