Continuations and Behavior Components Engineering in Multi-Agent Systems [chapter]

Denis Jouvin
2006 Lecture Notes in Computer Science  
Continuations are a well established programming concept, allowing to explicitly capture and resume the current program state. They are present in several functional programming languages (such as Scheme), in concurrent models such as Hewitt actor model or process calculi, and more recently in dynamic programming languages (such as Ruby, Smalltalk, Python, and even Javascript or Java). They have been applied to automaton programming, cooperative threads, compilation techniques, and have lastly
more » ... aised interest in web application programming. This paper shows how this concept happens to be especially useful and elegant to program agent behaviors (or behavioral components), while increasing code readability and ease of writing. The proposed approach especially facilitates modular interaction protocol implementation, one of the main difficulties in conversational agents engineering.
doi:10.1007/11872283_13 fatcat:rbk7of5555eylobwdmwrceod34