Dear Oliver,

indeed, you have to install Oz first before you can run an Oz program (similar to various other languages, e.g., Java).

Also, you can run Oz programs as separate processes which talk to other processes via sockets. Sockets are documented in the open programming tutorial

  http://www.mozart-oz.org/documentation/op/node10.html

and the reference

  http://www.mozart-oz.org/documentation/system/node54.html

Best
Torsten

On Jan 19, 2008, at 5:56 PM, Oliver Mooney wrote:
Dear all,

I'm hoping to use Oz as the engine for a GUI program on Apple's OS X, with a native Cocoa front-end. I'm having a bit of trouble trying to work out the canonical way of doing such a thing. I'm assuming I can launch Oz as a separate process and communicate with the Oz runtime via sockets.

Deployment is also something I'm not clear on. It seems that the entire oz development system has to be installed before a user can run oz scripts, and that the '--executable' options only remove the need to launch scripts via the ozengine explicitly. So when I try to run a script compiled and linked with the -x option on another machine without Mozart/Oz installed I receive the error "line 2: exec: ozengine: not found".

Is it possible to generate a standalone executable from an Oz script? What's the standard means of distributing oz scripts to users who need the functionality but not the ability to develop those scripts?

Thanks,
Oliver.
<ATT00001>

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-233667
Private: +44-1752-558917
http://strasheela.sourceforge.net
http://www.torsten-anders.de




_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to