next up previous contents
Next: Extensibility and flexibility Up: Concept Previous: Unity and diversity   Contents

An integrated system

The interactive program can be used not only to create and edit drawings, but also to design macros, scripts and drawing templates. These can in turn be used to build extension libraries, or to serve as templates for master programs to use. Consider the following scenario:

A master data analysis program includes commands that are used to plot a graph. The Adage engine, which is linked as a slave library, provides this ability. A ``smart export'' function is used to save the data and graph details with tagging information. The user launches the interactive Adage program separately and adds annotations, creating an enhanced plot. Then a batch file is written that invokes the (first) data analysis program on multiple data sets, such as monthly results. New data is exported for each. The stand-alone Adage program is invoked on each results file, generating enhanced graphs that include the additional annotations.
This is not an exceptional example. However, no current drawing package supports it. Adage only requires that the master program can export data with consistent tagging information, and the rest is made straightforward by the basic design of the Adage language.


next up previous contents
Next: Extensibility and flexibility Up: Concept Previous: Unity and diversity   Contents
Alex Stark 2003-12-27