首页> 外文会议>IEEE International Working Conference on Source Code Analysis and Manipulation >Engineering a Converter Between Two Domain-Specific Languages for Sorting
【24h】

Engineering a Converter Between Two Domain-Specific Languages for Sorting

机译:在两种特定于域的语言之间设计转换器以进行排序

获取原文

摘要

Part of the ecosystem of applications running on mainframe computers is the DFSORT program. It is responsible for sorting and reformatting data (amongst other functionalities) and is configured by specifications written in a Domain-Specific Language (DSL). When migrating such sort workloads off from the mainframe, the SyncSort product is an attractive alternative. It is also configured by specifications written in a DSL but this language is structured in a radically different way. Whereas the DFSORT DSL uses an explicit fixed pipeline for processing, the SyncSort DSL does not. To allow DFSORT workloads to run on SyncSort we have therefore built a source-to-source translator from the DFSORT DSL to the SyncSort DSL. Our language converter performs abstract interpretation of the DFSORT specification, considering the different steps in the DFSORT pipeline at translation time. This is done by building a graph of objects and key to the construction of this graph is the reification of the records being sorted. In this paper we report on the design and implementation of the converter, describing how it treats the DFSORT pipeline. We also show how its design allowed for the straightforward implementation of unexpected changes in requirements for the generated output.
机译:大型计算机上运行的应用程序生态系统的一部分是DFSORT程序。它负责对数据进行排序和重新格式化(以及其他功能),并由以特定领域语言(DSL)编写的规范进行配置。从大型机迁移此类分类工作负载时,SyncSort产品是一种有吸引力的选择。它也由DSL编写的规范配置,但是这种语言的结构完全不同。 DFSORT DSL使用显式固定管道进行处理,而SyncSort DSL则不使用。为了使DFSORT工作负载在SyncSort上运行,我们因此构建了从DFSORT DSL到SyncSort DSL的源到源转换器。考虑到翻译时DFSORT管道中的不同步骤,我们的语言转换器对DFSORT规范进行抽象解释。这是通过构建对象图来完成的,构建此图的关键是对要排序的记录进行验证。在本文中,我们报告了转换器的设计和实现,描述了转换器如何处理DFSORT管道。我们还展示了它的设计如何允许对生成的输出的要求进行意外更改的直接实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号