首页> 外文期刊>Journal of Functional Programming >The Kansas University rewrite engine: A Haskell-Embedded Strategic Programming Language with Custom Closed Universes
【24h】

The Kansas University rewrite engine: A Haskell-Embedded Strategic Programming Language with Custom Closed Universes

机译:堪萨斯大学重写引擎:具有自定义封闭宇宙的Haskell嵌入式战略编程语言

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

摘要

When writing transformation systems, a significant amount of engineering effort goes into setting up the infrastructure needed to direct individual transformations to specific targets in the data being transformed. Strategic programming languages provide general-purpose infrastructure for this task, which the author of a transformation system can use for any algebraic data structure. The Kansas University Rewrite Engine (KURE) is a typed strategic programming language, implemented as a Haskell-embedded domain-specific language. KURE is designed to support typed transformations over typed data, and the main challenge is how to make such transformations compatible with generic traversal strategies that should operate over any type. Strategic programming in a typed setting has much in common with datatype-generic programming. Compared to other approaches to datatype-generic programming, the distinguishing feature of KURE's solution is that the user can configure the behaviour of traversals based on the location of each datum in the tree, beyond their behaviour being determined by the type of each datum. This article describes KURE's approach to assigning types to generic traversals, and the implementation of that approach. We also compare KURE, its design choices, and their consequences, with other approaches to strategic and datatype-generic programming.
机译:在编写转换系统时,需要大量的工程工作来建立基础结构,以将各个转换定向到转换数据中的特定目标。战略性编程语言为该任务提供了通用基础结构,转换系统的作者可以将其用于任何代数数据结构。堪萨斯大学重写引擎(KURE)是一种类型化的战略编程语言,实现为Haskell嵌入的特定领域语言。 KURE旨在支持对类型化数据的类型化转换,而主要的挑战是如何使此类转换与应该对任何类型进行操作的通用遍历策略兼容。类型化设置中的战略性编程与数据类型通用编程有很多共同点。与其他数据类型通用编程方法相比,KURE解决方案的显着特点是用户可以根据树中每个数据的位置来配置遍历的行为,而其行为不是由每个数据的类型决定的。本文介绍了KURE为通用遍历分配类型的方法以及该方法的实现。我们还将KURE,其设计选择及其后果与其他策略和数据类型通用编程方法进行了比较。

著录项

  • 来源
    《Journal of Functional Programming》 |2014年第4期|434-473|共40页
  • 作者单位

    Information and Telecommunication Technology Center, The University of Kansas, USA;

    Information and Telecommunication Technology Center, The University of Kansas, USA;

    Information and Telecommunication Technology Center, The University of Kansas, USA;

  • 收录信息 美国《科学引文索引》(SCI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号