[Oz] Compiling Oz program

Christian Schulte schulte at ps.uni-sb.de
Wed Apr 21 12:33:52 CEST 1999


Dear Rania,

> When I am compiling a program through the command
> line, it gives me errors on the Oz built-in functions,
> i.e., ExploreAll.  I know it needs to load the prelude
> file first, but how to do this (loading the prelude and compiling
> the program) in one step.
> Can anyone tell me the exact steps to do this under windows 95.
> Can anyone tell me what is meant by batch compiler and when to
> use it.

There are two issues here:

 1. The Programming environment defines some abbrivations (like
ExploreAll) for
    convenience. However, if you want to run the program you have to
import them.
    The abbreviations are listed in:

	http://www.mozart-oz.org/documentation/opi/node4.html#section.mozart

 2. In order to create Mozart applications that run without the OPI, you
have
    to use functors. There is in fact a tutorial ``Application
Programming'' on this:

	http://www.mozart-oz.org/documentation/apptut/

I hope this helps
--Christian

---------------------------------------------------------------
Christian Schulte, http://www.ps.uni-sb.de/~schulte/
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list