A SERVICE OF

logo

Command-line Compiler (ipc) Syntax
The syntax for the command-line compiler is as follow:
ipc - The compiler displays a brief help screen showing the proper syntax.
ipc ? - The compiler displays a more detailed help screen listing all the options you can use.
ipc [options] filename - The compiler attempts to compile the file specified by filename, using
the options specified. NOTE: filename can include path information, and [x] indicates that x is
optional.
For example to compile the sample program hello.pas enter
ipc hello
or
ipc hello.pas
(assuming of course that hello.pas is in the current directory).
The compiler will generate a file called hello.ivm which contains an IVM executable. You can run it by
entering
ivm hello
or
ivm hello.ivm
NOTE: If you do not specify a path for the executable (as in the example above) the interpreter will first
look in the current directory and if not found the interpreter will search the path.
5.1.2.1 Compiler options overview
Compiler options are instructions to the compiler to somehow modify its behavior (usually they are
instructions to enable or disable a particular compiler feature). Compiler options are entered on the
command-line when you invoke the command-line compiler. NOTE: Compile options are case-sensitive
so for example i and I are different compiler options.
There are two kinds of compiler options
1. Flag options
2. Value options
Flag Options
Flag options are used to enable or disable a compiler feature.
To enable the feature use
-optionor -option+
where option is the particular compiler option.