ICONT(1) | General Commands Manual | ICONT(1) |
icont - translate Icon program
icont [ option ... ] file ... [ -x arg ... ]
Icont translates and links programs written in the Icon language. Translation produces ucode files, suffixed .u1 and .u2, which are linked to produce executable files. Icon executables are shell scripts containing binary data; this data is interpreted by iconx, which must be present at execution time.
File names ending in .icn are Icon source files; the .icn suffix may be omitted from command arguments. An argument of - reads from standard input. A name ending in .u, .u1, or .u2 selects both files of a ucode pair. The specified files are combined to produce a single program, which is named by removing the suffix from the first input file.
An argument of -x may appear after the file arguments to execute the linked program. Any subsequent arguments are passed to the program.
Ucode files produced by translation are normally deleted after linking. If the -c option is given, processing stops after translation and the ucode files are left behind. A directory of such files functions as a linkable library.
The following options are recognized by icont:
Two environment variables control file search paths during translation and linking. These variables contain blank- or colon-separated lists of directories to be searched after the current directory and before the standard library.
Several environment variables control the execution of an Icon program. Values in parentheses are the default values.
icon(1), a simpler command interface for embedding Icon programs in scripts.
The Icon Programming Language. Griswold and Griswold, Peer-to-Peer, third edition, 1996.
Graphics Programming in Icon. Griswold, Jeffery, and Townsend, Peer-to-Peer, 1998.
Version 9.4.3 of Icon.
http://www.cs.arizona.edu/icon/v943.
Icon executables are not self-sufficient, but require the iconx interpreter. When distributing an Icon program in executable form, include a copy of iconx in the same directory.
9 August 2005 | University of Arizona |