Contents | Prev | Next | Index


Compiler Usage

Canterbury Pascal for JVM can be invoked from a simple command line interface. On Windows-95/98/NT systems, this is usually done from a DOS prompt. On OS/2 systems, open an OS/2 text window. In general, since the compiler is entirely implemented in Java, it is run by a Java interpreter. Hence, whatever way the Java interpreter gets started, that's how to start Canterbury Pascal, too. On most operating systems the following simple command line will do:

java mhc.compiler.pas <Pascal file> <switches>

Canterbury Pascal uses source files with ".pas" name extension.

The compiler switches are desribed in one of the following documentation sections. The same is true for comment embedded directives, which can be used inside Pascal source files. The compiler uses environment and system properties for finding the directories needed for reading source files or for writing output Java files.

See also A first Example documentation.


Contents | Prev | Next | Index

Canterbury Pascal for JVM  (Last documentation update Sep 02, 2004)
Copyright © 1999-2004 J.Neuhoff - mhccorp.com  . All rights reserved.
Please send any comments or corrections to neuhoff@mhccorp.com