首页> 外文会议>Practical aspects of declarative languages >Integrating XPath with the Functional-Logic Language Toy
【24h】

Integrating XPath with the Functional-Logic Language Toy

机译:将XPath与功能逻辑语言玩具集成

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

摘要

This paper presents a programming framework for incorporating XPath queries into the functional-logic language TOy. The proposal exploits the language characteristics, including non-determinism, logic variables, and higher-order functions and patterns. Our setting covers a wide range of standard XPath axes and tests. In particular reverse axes are implemented thanks to the double nature of XPath queries, which are both higher-order functions and data terms in our setting. The combination of these two different worlds, the functional-logic paradigm and the XML query language XPath, is very enriching for both of them. From the point of view of functional-logic programming, the language is now able to deal with XML documents in a very simple way. From the point of view of XPath, our approach presents several nice properties as the generation of XML test-cases for XPath queries, which can be useful for finding bugs in erroneous queries.
机译:本文提出了一个将XPath查询合并到功能逻辑语言TOy中的编程框架。该提案利用了语言特征,包括不确定性,逻辑变量以及高阶函数和模式。我们的设置涵盖了广泛的标准XPath轴和测试。特别地,由于XPath查询的双重性质,实现了反向轴,这在我们的设置中既是高阶函数又是数据项。功能逻辑范式和XML查询语言XPath这两个不同世界的结合为它们两者都带来了极大的丰富。从功能逻辑编程的角度来看,该语言现在能够以非常简单的方式处理XML文档。从XPath的角度来看,我们的方法在为XPath查询生成XML测试用例时,提供了一些不错的属性,这对于查找错误查询中的错误很有用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号