首页> 外文会议>Logic programming >Logic Engines as Interactors
【24h】

Logic Engines as Interactors

机译:逻辑引擎作为交互器

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

摘要

We introduce a new programming language construct, Interactors, supporting 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.rnInteractors extend language constructs like Ruby, Python and C#'s multiple coroutining block returns through yield statements and they can emulate the action of monadic constructs and catamorphisms in functional languages.rnThe full version of this paper [1] describes source level emulation of Prolog's dynamic database and various built-ins in terms of an Interactor API and design patterns for algorithms involving combinatorial generation and infinite answer streams.
机译:我们引入了一种新的编程语言结构Interactors,以支持面向代理的观点,即编程是简单,独立,自主的构建模块之间的对话.rn我们将Interactor定义为逻辑引擎中答案生成和提炼的抽象,从而产生了表达语言交互器通过yield语句扩展了Ruby,Python和C#的多个coroutining块返回之类的语言结构,它们可以在功能语言中模拟单子结构和同构作用。 Prolog的动态数据库和各种内建函数,包括Interactor API和涉及组合生成和无限答案流的算法的设计模式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号