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.icn
and other filenames to form an executable namedmainname.exe
on Windows or justmainname
on most other platforms. The other filenames may have the extension.icn
or.u
; if no extension is provided,.icn
is automatically added.
unicon -o exename [ filename(s) ]
The
-o
option 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...