Robert Ritchey wrote:
Is there a way to run oz from the command line in Linux? [...]
In addition to the things Raphael mentioned, you might be interested
to have a look at my "mozart shell" (mosh), where you can interactively
evaluate Oz expressions and execute Oz statements, among other things.
For installation, you need two MOGUL packages: mathweb-share and
mathweb-mosh, see:
http://www.mozart-oz.org/mogul/info/mathweb/mosh.html
http://www.mozart-oz.org/mogul/info/mathweb/share.html
HTH,
Andreas
********************************************************
Here is a simple mosh example:
[EMAIL PROTECTED] ~]$ mosh --local
This is mozart shell version 1.0.0 beta.
Processing file `/home/afranke/.moshrc'...
Warning: ^C kills the entire oz process.
Type exit to leave.
> eval {Property.get 'oz.version'}
'1.3.1'
> exec {Panel.open}
> exit
Bye...
[EMAIL PROTECTED] ~]$
and here a more complex one (reconnecting to a server running in the
background):
[EMAIL PROTECTED] ~]$ mosh
*** mosh @ hestia (PID=21596, started Fri Sep 30th 2005 15:32:54)
This is mozart shell version 1.0.0 beta.
Processing file `/home/afranke/.moshrc'...
> exec {Property.put 'foo' 1}
> [Ctrl-D] *** disconnect (end of input) ***
[EMAIL PROTECTED] ~]$ mosh
*** mosh @ hestia (PID=21596, started Fri Sep 30th 2005 15:32:54)
> eval {Property.get 'foo'}
1
> exit
*** exit ***
[EMAIL PROTECTED] ~]$
More info is available with the builtin 'help' command.
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users