...
首页> 外文期刊>Journal of Computer Science and Control Systems >Formal Specification of Grammar Refactoring Patterns
【24h】

Formal Specification of Grammar Refactoring Patterns

机译:语法重构模式的形式规范

获取原文
           

摘要

Refactoring operators provide problemindependentrefactoring transformations on contextfreegrammars. Although their usage is not bound bysome particular class of refactoring problems, they donot provide efficient solutions for vast majority ofdomain-specific refactoring objectives, such as leftrecursion removal. In this paper we propose problemspecificgrammar refactoring operators, to which werefer as grammar refactoring patterns. We furtherpropose formal language for specification of grammarrefactoring patterns called pLERO (pattern Languageof Extended Refactoring operators), based on ourstructural model of context-free grammars, andgrammar metrics.
机译:重构运算符在上下文无关语法上提供了与问题无关的重构转换。尽管它们的使用不受某些特定类别的重构问题的束缚,但它们并未为绝大多数特定于域的重构目标(例如,左递归移除)提供有效的解决方案。在本文中,我们提出了特定于问题的语法重构运算符,将其称为语法重构模式。基于我们的上下文无关语法和语法度量的结构模型,我们进一步提出了用于规范语法重构模式的形式语言,称为pLERO(扩展重构运算符的模式语言)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号