Software

A Program Transformation for Continuation Call-Based Tabled Execution

Download Now Free registration required

Executive Summary

The advantages of tabled evaluation regarding program termination and reduction of complexity are well known |as are the significant implementation, portability, and maintenance e orts that some proposals (especially those based on suspension) require. This implementation e ort is reduced by program transformation-based continuation call techniques, at some efficiency cost. However, the traditional formulation of this proposal by Ramesh and Cheng limits the interleaving of tabled and non-tabled predicates and thus cannot be used as-is for arbitrary programs. In this paper the authors present a complete translation for the continuation call technique which, using the runtime support needed for the traditional proposal, solves these problems and makes it possible to execute arbitrary tabled programs.

  • Format: PDF
  • Size: 242.22 KB