<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

Computing and Mathematical Sciences

Permanent URI for this communityhttps://researchcommons.waikato.ac.nz/handle/10289/5

This community houses research from the Faculty of Computing and Mathematical Sciences at the University of Waikato.

Browse

Search Results

Now showing 1 - 1 of 1
  • Item type:Publication,
    Active templates: Manipulating pointers with pictures
    1994
    Active templates are a semi-automatic visual mechanism for generating algorithms for manipulating pointer-based data structures. The programmer creates a picture showing the affected part of a data structure before and after a general-case manipulation. Code for the operation is compiled directly from the picture, which also provides the development environment with enough information to generate, automatically, a series of templates for other similar pictures, each describing a different configuration which the data structure may possess. The programmer completes the algorithm by creating matching after-pictures for each of these cases. At every stage, most of the picture-generation is automatic. Much of the tedious detail of conventional pointer-based data-structure manipulation, such as maintenance of current pointers, is unnecessary in a system based on active templates.
All items in Research Commons are provided only to permit fair dealing for the purposes of research or private study. They are protected by copyright with all rights reserved unless otherwise indicated.