An extensible XML scripting language

Downloads/API

Purpose/History

Ogrescript is a descendent of OGRE; it is the language native to ELF, and thus meant to be run inside of the ELF container, which is built on the Eclipse (OSGI) platform framework. Hence, Ogrescript is organized as a series of plug-ins.

The Ogrescript runtime has eliminated all dependencies on Ant for its build and execute mechanism; there are no more target nodes or top-level DAG dependencies. The structure of Ogrescript is simply that of a scripting language. Work continues to take place via task objects, but the XML now simply represents a single line of execution.

Ogrescript still runs in an environment, but this is now locally unified, in the sense that there are no separate build properties (i.e., write-once variables) to manage outside of the Ogrescript framework as there were in OGRE.

Tasks are still XML elements configured via their attributes and children, and which do something inside their execute method. Return values are now made available by adding markers to the task itself.

User's Guide

The attached pages constitute a fairly complete user's guide to Ogrescript.

Since version 0.6+, the user would do well to read the Ogrescript Gotchas; these are admittedly peripheral issues but they may creep up unexpectedly on the coder who is comfortable using the more advanced features of the script.


For a recent set of optimizations done to Ogrescript's build mechanism (since version 0.6), see under 2. Looping.