Obtaining coroutines with continuations
Computer Languages
Continuations implement generators and streams
The Computer Journal - Special issue on graphics and visualisation
ZEUS: a toolkit and approach for building distributed multi-agent systems
Proceedings of the third annual conference on Autonomous Agents
A multi-plane state machine agent model
AGENTS '00 Proceedings of the fourth international conference on Autonomous agents
Continuations: A Mathematical Semantics for Handling FullJumps
Higher-Order and Symbolic Computation
Continuations from generalized stack inspection
Proceedings of the tenth ACM SIGPLAN international conference on Functional programming
Hi-index | 0.00 |
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 process calculi or Hewitt actor model), 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 raised 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.