【24h】

Interoperating Logic Engines

机译:互操作逻辑引擎

获取原文
获取原文并翻译 | 示例

摘要

We introduce a new programming language construct, Interactors, rnsupporting the agent-oriented view that programming is a dialog between simple, self-contained, autonomous building blocks.rnWe define Interactors as an abstraction of answer generation and refinement in Logic Engines resulting in expressive language extension and metaprogramming patterns.rnAs a first step toward a declarative semantics, we sketch a pure Prolog specification showing that Interactors can be expressed at source level, in a relatively simple and natural way.rnInteractors extend language constructs like Ruby, Python and C#'s multiple coroutining block returns through yield statements and they can emulate the action of fold operations and monadic constructs in functional languages.rnUsing the Interactor API, we describe at source level, language extensions like dynamic databases and algorithms involving generation of infinite answer streams.
机译:我们引入了一种新的编程语言结构Interactors,以支持面向代理的观点,即编程是简单,自包含,自治的构建模块之间的对话。我们将Interactor定义为逻辑引擎中答案生成和提炼的抽象,从而产生了表达语言作为声明式语义的第一步,我们绘制了一个纯Prolog规范,该规范显示了Interactor可以以相对简单和自然的方式在源代码级别进行表达。块通过yield语句返回收益,它们可以在功能语言中模拟折叠操作和Monadic构造的动作。使用Interactor API,我们在源代码级别描述了语言扩展,例如动态数据库和涉及生成无限答案流的算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号