Category:Oz: Difference between revisions

Content added Content deleted
(Usage of Oz)
m (Clarification.)
Line 13: Line 13:


==How to execute the examples on Rosetta Code==
==How to execute the examples on Rosetta Code==
Most examples 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 <code>Oz->FeedBuffer</code>.
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. 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>.