首页> 外文OA文献 >Improving Prolog programs: Refactoring for Prolog
【2h】

Improving Prolog programs: Refactoring for Prolog

机译:改善Prolog程序:重构Prolog

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Refactoring is an established technique from the object-oriented (OO)programming community to restructure code: it aims at improving softwarereadability, maintainability and extensibility. Although refactoring is nottied to the OO-paradigm in particular, its ideas have not been applied toLogic Programming until now.This paper applies the ideas of refactoring to Prolog programs. A catalogueis presented listing refactorings classified according to scope. Some ofthe refactorings have been adapted from the OO-paradigm, while others have beenspecifically designed for Prolog. The discrepancy between intendedand operational semantics in Prolog is also addressed by some of the refactorings.In addition, ViPReSS, a semi-automatic refactoring browser,is discussed and the experience with applying ViPReSS to a large Prologlegacy system is reported. The main conclusion is that refactoring is botha viable technique in Prolog and a rather desirable one.
机译:重构是一种从面向对象(OO)编程社区到重构代码的成熟技术:它旨在提高软件的可读性,可维护性和可扩展性。尽管重构特别是面向对象范例,但是它的思想直到现在还没有应用于逻辑编程。本文将重构的思想应用于Prolog程序。目录列出了根据范围进行分类的重构。一些重构是从OO范式改编而来的,另一些则是为Prolog专门设计的。 Prolog中预期语义和操作语义之间的差异也可以通过一些重构得到解决。此外,还讨论了半自动重构浏览器ViPReSS,并报道了将ViPReSS应用于大型Prologlegacy系统的经验。主要结论是,重构既是Prolog中的可行技术,也是一种相当理想的技术。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号