Category:Oz: Difference between revisions

Content added Content deleted
(Update Mozart website)
(Accommodating changes made for Mozart 2: ozmake no longer exists, the official homepage has been relocated.)
 
Line 1: Line 1:
{{language|Oz
{{language|Oz
|site=http://www.mozart-oz.org
|site=https://mozart.github.io/
|checking=dynamic
|checking=dynamic
|gc=yes
|gc=yes
Line 18: Line 18:
All examples that start with <code>declare</code> can be used directly in the Emacs-based IDE, without a separate compilation step. Just copy the source code to the <code>Oz</code> buffer and select the menu item "Oz&rarr;Feed Buffer".
All examples that start with <code>declare</code> can be used directly in the Emacs-based IDE, without a separate compilation step. Just copy the source code to the <code>Oz</code> buffer and select the menu item "Oz&rarr;Feed Buffer".


Some examples are functor definitions and must be compiled. If a <code>makefile.oz</code> is supplied, execute <code>ozmake</code> to build the project. Otherwise call the compiler directly: <code> ozc -c filename.oz</code>. Execute a compiled functor with <code>ozengine filename.ozf</code>.
Some examples are functor definitions and must be compiled. The compiler is invoked with a command such as: <code>ozc -c filename.oz</code>, and then executed with the command, <code>ozengine filename.ozf</code>. This [https://stackoverflow.com/a/29207029/371304 Stack Overflow answer] shows an example of the boilerplate to transform code written for the Emacs IDE to code that can run directly on the Mozart VM.


==Citation==
==Citation==