Running Unicon
Unicon utilizes compile and link steps to translate source code programs into executable code. In this way, it is more like C than Java. Unicon source files end in the four characters .icn; it shares this extension with its predecessor, Icon.
Unicon object files are called ucode and end with the two characters .u. Here are some example invocations of the Unicon translator. Only the most common command-line options are presented:
unicon mainname [ filename(s) ]Compile and link
mainname.icnand other filenames to form an executable namedmainname.exeon Windows or justmainnameon most other platforms. The other filenames may have the extension.icnor.u; if no extension is provided,.icnis automatically added.
unicon -o exename [ filename(s) ]The
-ooption directs the translator to compile and link an executable namedexename, or on Windows,exename.exe. It’s the same as the previous example, except the output filename...