首页> 外文OA文献 >An Approach to high-level language bindings to XML
【2h】

An Approach to high-level language bindings to XML

机译:一种高级语言绑定到XML的方法

摘要

Values of existing typed programming languages are increasingly generated and manipulated outside the language jurisdiction. Instead, they often occur as fragments of XML documents, where they are uniformly interpreted as labelled trees in spite of their domain-specific semantics. In particular, the values are divorced from the high-level type with which they are conveniently, safely, and efficiently manipulated within the language.We propose language-specific mechanisms which extract language values from arbitrary XML documents and inject them in the language. In particular, we provide a general framework for the formal interpretation of extraction mechanisms and then instantiate it to the definition of a mechanism for a sample language core L. We prove that such mechanism can be built by giving a sound and complete algorithm that implements it.The values, types, and type semantics of L are sufficiently general to show that extraction mechanisms can be defined for many existing typed languages, including object-oriented languages. In fact, extraction mechanisms for a large class of existing languages can be directly derived from L's. As a proof of this, we introduce the SNAQue prototype system, which transforms XML fragments into CORBA objects and exposes them across the ORB framework to any CORBA-compliant language.
机译:现有类型化编程语言的价值越来越多地在语言管辖范围之外产生和操纵。取而代之的是,它们通常作为XML文档的片段出现,尽管它们具有特定于域的语义,但它们仍被统一解释为带标签的树。特别是,这些值与在语言中方便,安全和有效地操作它们的高级类型不同。我们提出了特定于语言的机制,该机制可从任意XML文档中提取语言值并将其注入该语言中。特别是,我们为提取机制的形式化解释提供了一个通用框架,然后将其实例化为示例语言核心L的机制的定义。我们证明了可以通过提供一个完善的,完整的算法来实现构建这种机制。 L的值,类型和类型语义足够笼统,足以表明可以为许多现有的类型化语言(包括面向对象的语言)定义提取机制。实际上,可以从L直接获得大量现有语言的提取机制。为了证明这一点,我们引入了SNAQue原型系统,该系统将XML片段转换为CORBA对象,并将它们在ORB框架中公开给任何CORBA兼容语言。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号