7 articles 
HAL: hal-00350251, version 1

Detailed view  Export this paper
Domain-Specific Program Development, Nashville : États-Unis (2008)
An Embedded Declarative Language for Hierarchical Object Structure Traversal
Sumant Tambe 1, Aniruddha Gokhale 1
(2008)

A common challenge in processing large domain-specific models and in-memory object structures (e.g., complex XML documents) is writing traversals and queries on them. Object-oriented (OO) designs, particularly those based on the Visitor pattern, are commonly used for developing traversals. However, such OO designs limit the reusability and independent evolution of visitation actions (i.e., the actions to be performed at each traversed node) due to tight coupling between the traversal logic and visitation actions, particularly when a variety of different traversals are needed. Code generators developed for traversal specification languages alleviate some of these problems but their high cost of development is often prohibitive. This paper presents Language for Embedded quEry and traverSAl (LEESA), which provides a generative programming approach for embedding object structure queries and traversal specifications within a host language, C++. By virtue of being declarative, LEESA significantly reduces the development cost of programs operating on complex object structures compared to the traditional techniques.
1:  Vanderbilt University School of Engineering (VUSE)
Vanderbilt University
Computer Science/Programming Languages
Attached file list to this document: 
PDF
3.pdf(183 KB)