首页> 外文期刊>Engineering Economics >Monadic Foundations for Promises in Jason
【24h】

Monadic Foundations for Promises in Jason

机译:杰森的莫纳迪式承诺基金会

获取原文
           

摘要

Even though the agent-oriented paradigm (AOP) has lost some of its charm in the past couple of years, the agent community is still active and a large variety of real world applications have been developed lately. Ranging from web applications to mobile applications, the paradigm has shown it is a viable choice. From an overview of these applications Jason seems to be the most widely used AOP language. But, while the core foundation of Jason, the Belief-Desire-Intention (BDI) theory, has gotten a lot of attention over the years, the language is still lacking with respect to some practical aspects such as concurrent programming. In this paper we propose a design for an extension to Jason that makes concurrent programming easier with the aid of promises. The proposed extension is based on a monadic characterisation of promises which makes it possible to express concurrent flows in a more natural way. It also avoids the inversion of control problem inherent when programming with callbacks. We also take into account some of the drawbacks of our proposed approach and investigate some possible solutions. DOI: http://dx.doi.org/10.5755/j01.itc.43.1.4586
机译:尽管在过去的几年中,面向代理的范例(AOP)失去了一些魅力,但代理社区仍然活跃,最近开发了许多实际的应用程序。从Web应用程序到移动应用程序,范式已表明这是一个可行的选择。从这些应用程序的概述来看,Jason似乎是使用最广泛的AOP语言。但是,尽管Jason的核心基础,即信念-愿望-意向(BDI)理论多年来受到了很多关注,但该语言在某些实际方面(如并发编程)仍然缺乏。在本文中,我们提出了一种对Jason的扩展设计,该设计可以借助promises简化并发编程。提议的扩展基于对promises的单调表征,这使得以更自然的方式表达并发流成为可能。它还避免了使用回调进行编程时固有的控制问题反转。我们还考虑了我们提出的方法的一些缺点,并研究了一些可能的解决方案。 DOI:http://dx.doi.org/10.5755/j01.itc.43.1.4586

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号