/xlv1/freeware/1998.Oct/icon/9.3.1/icon-9.3.1.diffbuild/doc
ICON_VT(1) IPD220 (13 March 1993) ICON_VT(1)
NAME
icon_vt - construct Icon variant translator system
SYNOPSIS
icon_vt
DESCRIPTION
An Icon variant translator system is a facility for
constructing preprocessors for variants of Icon.
To set up a variant translator system, a new directory
should be created solely for its use; otherwise files may be
accidentally destroyed by the set-up process. For the
purpose of example, suppose this directory is named vt. The
set-up process consists of
mkdir vt
cd vt
icon_vt
Note that icon_vt must be run in the area in which the
variant translator system is to be built.
The shell script icon_vt constructs two subdirectories: h
and itran. The subdirectory h contains header files that are
needed in C routines. The subdirectory itran contains the
translator proper.
The main directory in which icon_vt is run contains a
Makefile and auxiliary files needed to construct a variant
translator, which is named vitran. The two files
variant.defs and variant.c initially are placeholders. It
is in these files that the variant is described by macro
specifications and any needed C support routines. A make in
this directory produces a translator, vitran. If
variant.def and variant.c are left empty, the result is an
identity translator.
If the input syntax of the variant translator is different
from that of Icon, it is necessary to modify the Icon
grammar, which is in itran/icon_g.c.
FILES
v8/vtran code for building personalized interpreters
SEE ALSO
icont(1)
Variant Translators for Version 8.10 of Icon, Ralph E.
Griswold, IPD204, Department of Computer Science, The
University of Arizona, 1992.
Page 1 (printed 6/16/98)
ICON_VT(1) IPD220 (13 March 1993) ICON_VT(1)
The Icon Programming Language, Ralph E. Griswold and Madge
T. Griswold, Prentice-Hall Inc., second edition, Englewood
Cliffs, New Jersey, 1990.
Page 2 (printed 6/16/98)