An Embedded Declarative Language for Hierarchical Object Structure Traversal - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2008

An Embedded Declarative Language for Hierarchical Object Structure Traversal

Résumé

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.
Fichier principal
Vignette du fichier
3.pdf (153.69 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00350251 , version 1 (06-01-2009)

Identifiants

  • HAL Id : hal-00350251 , version 1

Citer

Sumant Tambe, Aniruddha Gokhale. An Embedded Declarative Language for Hierarchical Object Structure Traversal. Domain-Specific Program Development, 2008, Nashville, United States. pp.3. ⟨hal-00350251⟩

Collections

DSPD2008
34 Consultations
38 Téléchargements

Partager

Gmail Facebook X LinkedIn More