7 articles 
HAL: hal-00350251, version 1

Short view  Export this paper
An Embedded Declarative Language for Hierarchical Object Structure Traversal
Tambe S., Gokhale A.
in Domain-Specific Program Development - Domain-Specific Program Development, Nashville : United States (2008) - http://hal.archives-ouvertes.fr/hal-00350251
Conference proceedings
Computer Science/Programming Languages
An Embedded Declarative Language for Hierarchical Object Structure Traversal
Sumant Tambe 1, Aniruddha Gokhale 1
1:  Vanderbilt University School of Engineering (VUSE)
http://www.vanderbilt.edu/
Vanderbilt University
2201 West End Avenue, Nashville, TN 37232, USA
United States
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.
English

Domain-Specific Program Development
international
2008
3
Julia Lawall and Laurent Réveillère

Domain-Specific Program Development
2008
Nashville
United States

Attached file list to this document: 
PDF
3.pdf(183 KB)