📖
An Embedded Declarative Language for Hierarchical Object Structure Traversal
Sumant Tambe, Aniruddha Gokhale

An Embedded Declarative Language for Hierarchical Object Structure Traversal

Author / Organization:
Science & Mathematics Published 2008 Verification Pending

Overview & Synopsis

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.

Indexed from repository: HAL Open Science (hal.science)
Loading document from verified source...
Keyboard Shortcuts: ← / → for pages • + / - for zoom • 0 to fit width Powered by Mozilla PDF.js v3.11

Document Information

Document Title An Embedded Declarative Language for Hierarchical Object Structure Traversal
Author / Organization Sumant Tambe, Aniruddha Gokhale
Subject & Discipline Multidisciplinary Academic Open Research
Categories Science & Mathematics
Publication Year 2008
License / Rights Open Access / Creative Commons
Resource Verification Listed PDF (Verification Pending)
Original Host Website HAL Open Science (hal.science)
File Format application/pdf (Portable Document Format)
Language EN
Catalog ID DOC-225673
Original Source Link Visit Source Page on hal.science »