Show in Frame No Frame
Up Previous Next Title Page Index Contents Search

5.2.1 Starting from the beginning
5.2.2 Context and the element stack
5.2.3 Variables and translators
5.2.4 Streams and files
5.2.5 Navigation revisited
5.2.6 Modularization and recursion
5.2.7 Formatting output for a specific purpose
5.2.8 Additional exercise

5.2 Writing generators with MERL – A primer

In this primer we will walk through the step-by-step evolution of an example generator. We will use our Watch Example (Figure 5–7) as the source model, and create a generator that will produce specification sheets for each Watch. An individual specification sheet will provide information about the user interface (number of buttons etc.) and included applications. We will start with a simple textual sheet layout and gradually refine it into an interactive HTML page.

WatchModels and TAST

Figure 5–7. The Watch Example, showing the applications in Delicia’s LogicalWatch, TAST.


Show in Frame No Frame
Up Previous Next Title Page Index Contents Search