首页> 外文会议>Domain-specific languages >LEESA: Embedding Strategic and XPath-Like Object Structure Traversals in C++
【24h】

LEESA: Embedding Strategic and XPath-Like Object Structure Traversals in C++

机译:LEESA:在C ++中嵌入战略和类似XPath的对象结构遍历

获取原文
获取原文并翻译 | 示例

摘要

Traversals of heterogeneous object structures are the most common operations in schema-first applications where the three key issues are (1) separation of traversal specifications from type-specific actions, (2) expressiveness and reusability of traversal specifications, and (3) supporting structure-shy traversal specifications that require minimal adaptation in the face of schema evolution. This paper presents Language for Embedded quEry and traverSAl (LEESA), which provides a generative programming approach to address the above issues. LEESA is an object structure traversal language embedded in C++. Using C++ templates, LEESA combines the expressiveness of XPath's axes-oriented traversal notation with the genericity and pro-grammability of Strategic Programming. LEESA uses the object structure meta-information to statically optimize the traversals and check their compatibility against the schema. Moreover, a key usability issue of domain-specific error reporting in embedded DSL languages has been addressed in LEESA through a novel application of Concepts, which is an upcoming C++ standard (C++0x) feature. We present a quantitative evaluation of LEESA illustrating how it can significantly reduce the development efforts of schema-first applications.
机译:异构对象结构的遍历是模式优先应用程序中最常见的操作,其中三个关键问题是(1)遍历规范与特定于类型的动作的分离;(2)遍历规范的表达性和可重用性;以及(3)支持结构-害羞的遍历规范,在面对架构演变时需要最小的适应。本文介绍了嵌入式查询和查询语言(LEESA),它提供了一种生成式编程方法来解决上述问题。 LEESA是一种嵌入在C ++中的对象结构遍历语言。 LEESA使用C ++模板,将XPath的面向轴的遍历表示法的表达与策略编程的通用性和可编程性相结合。 LEESA使用对象结构元信息来静态优化遍历,并根据模式检查其兼容性。此外,通过一种新的Concepts应用,在LEESA中解决了嵌入式DSL语言中特定于域的错误报告的关键可用性问题,这是一种即将到来的C ++标准(C ++ 0x)功能。我们对LEESA进行了定量评估,说明了它可以如何显着减少架构优先应用程序的开发工作。

著录项

  • 来源
    《Domain-specific languages》|2009年|100-124|共25页
  • 会议地点 Oxford(GB);Oxford(GB)
  • 作者单位

    Electrical Engineering and Computer Science Department, Vanderbilt University, Nashville, TN, USA;

    Electrical Engineering and Computer Science Department, Vanderbilt University, Nashville, TN, USA;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 程序语言、算法语言;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号