【24h】

Using an Abstract Representation to Specialize Functional Logic Programs

机译:使用抽象表示来专门化功能逻辑程序

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

摘要

This paper introduces a novel approach for the specialization of functional logic languages. We consider a maximally simplified abstract representation of programs (which still contains all the necessary information) and define a non-standard semantics for these programs. Both things mixed together allow us to design a simple and concise partial evaluation method for modern functional logic languages, avoiding several limitations of previous approaches. Moreover, since these languages can be automatically translated into the abstract representation, our technique is widely applicable. In order to assess the practicality of our approach, we have developed a partial evaluation tool for the multi-paradigm language Curry. The partial evaluator is written in Curry itself and has been tested on an extensive benchmark suite (even a meta-interpreter). To the best of our knowledge, this is the first purely declarative partial evaluator for a functional logic language.
机译:本文介绍了一种用于功能逻辑语言专业化的新颖方法。我们考虑了程序的最大简化抽象表示(它仍然包含所有必要的信息),并为这些程序定义了非标准的语义。两者混合在一起,使我们能够为现代功能逻辑语言设计一种简单明了的局部评估方法,避免了先前方法的一些局限性。而且,由于这些语言可以自动翻译成抽象表示,因此我们的技术具有广泛的适用性。为了评估我们方法的实用性,我们为多范式语言Curry开发了部分评估工具。局部评估器是用Curry本身编写的,并且已经在广泛的基准套件(甚至是元解释器)上进行了测试。据我们所知,这是功能逻辑语言的第一个纯声明式局部评估器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号