The University of Southampton
University of Southampton Institutional Repository

Supervising Offline Partial Evaluation of Logic Programs using Online Techniques

Record type: Conference or Workshop Item (Paper)

A major impediment for more widespread use of offline partial evaluation is the difficulty of obtaining and maintaining annotations for larger, realistic programs. Existing automatic binding-time analyses still only have limited applicability and annotations often have to be created or improved and maintained by hand, leading to errors. We present a technique to help overcome this problem by using online control techniques which supervise the specialisation process in order to help the development and maintenance of correct annotations by identifying errors. We discuss an implementation in the Logen system and show on a series of examples that this approach is effective: very few false alarms were raised while infinite loops were detected quickly. We also present the integration of this technique into a web interface, which highlights problematic annotations directly in the source code. A method to automatically fix incorrect annotations is presented, allowing the approach to be also used as a pragmatic binding time analysis. Finally we show how our method can be used for efficiently locating built-in errors in Prolog source code.

PDF watch_lopstr06_final.pdf - Other
Download (269kB)

Citation

Leuschel, Michael, Craig, Stephen-John and Elphick, Dan, (2006) Supervising Offline Partial Evaluation of Logic Programs using Online Techniques Puebla, German (ed.) At Logic-Based Program Synthesis and Transformation. , pp. 43-59.

More information

Published date: 2006
Additional Information: Event Dates: July 2006
Venue - Dates: Logic-Based Program Synthesis and Transformation, 2006-07-01
Keywords: Partial Evaluation, Logic Programming, Termination
Organisations: Electronics & Computer Science

Identifiers

Local EPrints ID: 262651
URI: http://eprints.soton.ac.uk/id/eprint/262651
PURE UUID: 899c6984-fb39-44cb-b7f6-6a567ce34200

Catalogue record

Date deposited: 30 May 2006
Last modified: 18 Jul 2017 08:49

Export record

Contributors

Author: Michael Leuschel
Author: Stephen-John Craig
Author: Dan Elphick
Editor: German Puebla

University divisions


Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×