计算机科学 > 程序设计语言
[提交于 2010年1月25日]
标题:Strategies in PRholog
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:EPTCS[v1] 2010年1月25日 星期一 14:06:29 UTC