Name
disp — TDF pretty printer
Synopsis
disp
input-file [ output-file ]
disp
Description
disp translates the input TDF capsule, input-file into a human-readable form, the layout of which reflects the structure of the underlying TDF tree. If the output-file argument is present, this is used for output; otherwise the standard output is used.
Whenever possible the output of disp matches the TDF specification. The most important exception is the use of asterisks after a token name to indicate an application of that token. Also a dash is used to indicate the absense of an optional argument and an ellipsis (...) is used to indicate that a token's arguments have been skipped rather than decoded (since the token was undeclared).
It is recommended that disp is invoked via tcc using the -disp or the -disp_t option. The -opt flag can be passed to disp by passing the flag -Wd,-opt to tcc.
Diagnostics
The error reports if the input file is not a legal TDF capsule are intended to aid developers writing programs which produce TDF. Thus they try to give all the information that may be required, including the position within the input file at which the error occurred.
See Also
tcc.