...
首页> 外文期刊>Programming and Computer Software >NOBRAINER: A Tool for Example-Based Transformation of C/C++ Code
【24h】

NOBRAINER: A Tool for Example-Based Transformation of C/C++ Code

机译:nobrainer:一种基于示例的C / C ++代码的工具

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

获取外文期刊封面封底 >>

       

摘要

Refactoring is an integral part of the modern software development process. Often, the refactoring must be performed at the global level with modifications in a large number of files. Making these modifications is a long and painstaking work. However, users rarely employ automated tools for this purpose because they consider them unreliable and difficult to use. In this paper, a new tool for transforming the source code is described. It is based on the intuitively clear specification of transformation rules in the form of short code fragments in C or C++. These rules describe the code before and after the transformation. We believe that, due to the absence of additional abstractions (such as domain-specific languages), this approach can be easily used in practice. Even though the tool uses source code templates, it operates on the level of the abstract syntax tree. This enables the tool to better analyze the code and verify the validity of transformations.
机译:重构是现代软件开发过程的一个组成部分。通常,必须在全局级别执行重构,并在大量文件中进行修改。使这些修改是一个漫长而艰苦的工作。但是,用户很少使用自动化工具,因为他们认为它们不可靠且难以使用。在本文中,描述了一种用于转换源代码的新工具。它是基于C或C ++中短代码片段的直观清晰的转换规则规范。这些规则描述了转换前后的代码。我们相信,由于没有额外的抽象(例如特定于域的语言),这种方法可以很容易地在实践中使用。即使该工具使用源代码模板,它也会在抽象语法树的级别上运行。这使工具能够更好地分析代码并验证转换的有效性。

著录项

  • 来源
    《Programming and Computer Software》 |2020年第5期|362-372|共11页
  • 作者单位

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

    Russian Acad Sci Ivannikov Inst Syst Programming Moscow 109004 Russia;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号