Contents | Prev | Next

3.1.1 Using the command-line compiler

The Irie Pascal command-line Pascal compiler translates Pascal source programs into Irie Virtual Machine executables (.IVM executables), or (.EXE executables).

Command-line Compiler (ipc) Syntax

The syntax for the command-line compiler is as follow:

For example to compile the sample program hello.pas enter

   ipc hello


   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


   ivm ./hello.ivm

Contents | Prev | Next