| - Up - | Next >> |
The compiler can operate in one of several mutually exclusive modes selected by the options below:
-h, -?, --helpPrints out information on all legal options, then exits
-c, --dump
ozc -cFILE.oz
Compiles and evaluates the expression in file FILE.oz, then pickles the resulting value into the output file, FILE.ozf by default.
-e, --feedtoemulator
ozc -eFILE.oz
Compiles and executes the statement in file FILE.oz. This is the default mode of operation.
-E, --core
ozc -EFILE.oz
Translates the statement in file FILE.oz into the core language, then writes this expanded form into the output file, FILE.ozi by default.
-S, --outputcode
ozc -SFILE.oz
Compiles the statement in file FILE.oz into the assembly bytecode format, then writes it to the output file, FILE.ozm by default.
-x, --executable
ozc -xFILE.oz
Much like -c, compiles and evaluates the expression in file FILE.oz, then writes the resulting value into the output file, by default: FILE (no extension) under Unix or FILE.exe under Windows. Additionally, it makes the output file executable. Thus, if Foo.oz contains an application functor:
ozc -x Foo.oz creates the file Foo (Foo.exe under Windows), which is executable and can be invoked directly from the shell. However, you can always run an application functor as follows:
ozengineurlargs...
where url is a URL or pathname that references the application functor.
| - Up - | Next >> |