首页> 外文OA文献 >Role of Patterns in Automated Task-Driven Grammar Refactoring
【2h】

Role of Patterns in Automated Task-Driven Grammar Refactoring

机译:模式在自动任务驱动的语法重构中的作用

摘要

Grammarware engineering, and grammar-dependent software development has received considerable attention in recent years. Despite of this fact, grammar refactoring as a significant cornerstone of grammarware engineering is still weakly understood and little practiced. In this paper, we address this issue by proposing universal algorithm for automated refactoring of context-free grammars called mARTINICA, and formal specification language for preserving knowledge of grammar engineers called pLERO. Significant advantage of mARTINICA with respect to other automated refactoring approaches is that it performs grammar refactoring on the bases of user-defined refactoring task, rather then operating under some fixed objective of refactoring process. In order to be able to understand unified refactoring process of mARTINICA this paper also provides brief insight in grammar refactoring operators, which in our approach provide universal refactoring transformations for specific context-free grammars. For preserving of knowledge considering refactoring process we propose formalism based on patterns which are well-proven method of knowledge preservation in variety of other domains, such as software architectures.
机译:近年来,语法软件工程和与语法相关的软件开发受到了相当大的关注。尽管有这个事实,但语法重构作为语法软件工程的重要基石仍然鲜为人知,很少实践。在本文中,我们通过提出一种用于自动重构上下文无关文法的通用算法(称为mARTINICA)和一种用于保存语法工程师知识的正式规范语言(称为pLERO)来解决此问题。与其他自动化重构方法相比,mARTINICA的显着优势在于它基于用户定义的重构任务执行语法重构,而不是在重构过程的某个固定目标下运行。为了能够理解mARTINICA的统一重构过程,本文还提供了语法重构运算符的简要介绍,在我们的方法中,该运算符为特定的上下文无关语法提供了通用重构转换。为了考虑重构过程来保存知识,我们提出了基于模式的形式主义,该模式是在各种其他领域(例如软件体系结构)中公认的知识保存方法。

著录项

  • 作者

    Kollár Ján; Halupka Ivan;

  • 作者单位
  • 年度 2013
  • 总页数
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号