Logic Engines as Interactors

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

unpublished draft

Scientific paper

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. We define Interactors as an abstraction of answer generation and refinement in Logic Engines resulting in expressive language extension and metaprogramming patterns, including emulation of Prolog's dynamic database. A mapping between backtracking based answer generation in the callee and "forward" recursion in the caller enables interaction between different branches of the callee's search process and provides simplified design patterns for algorithms involving combinatorial generation and infinite answer streams. Interactors 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. Keywords: generalized iterators, logic engines, agent oriented programming language constructs, interoperation with stateful objects, metaprogramming

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Logic Engines as Interactors does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Logic Engines as Interactors, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Logic Engines as Interactors will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-549732

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.