首页    期刊浏览 2024年07月18日 星期四
登录注册

文章基本信息

  • 标题:Strategies in PRholog
  • 本地全文:下载
  • 作者:Besik Dundua ; Temur Kutsia ; Mircea Marin
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2009
  • 卷号:15
  • 页码:32-43
  • DOI:10.4204/EPTCS.15.3
  • 出版社:Open Publishing Association
  • 摘要:PRholog is an experimental extension of logic programming with strategic conditional transformation rules, combining Prolog with Rholog calculus. The rules perform nondeterministic transformations on hedges. Queries may have several results that can be explored on backtracking. Strategies provide a control on rule applications in a declarative way. With strategy combinators, the user can construct more complex strategies from simpler ones. Matching with four different kinds of variables provides a flexible mechanism of selecting (sub)terms during execution. We give an overview on programming with strategies in PRholog and demonstrate how rewriting strategies can be expressed.
国家哲学社会科学文献中心版权所有