ScienceDirect® Home Skip Main Navigation Links
You have guest access to ScienceDirect. Find out more.
 
Home
Browse
My Settings
Alerts
Help
 Quick Search
 Search tips (Opens new window)
    Clear all fields    
advertisementadvertisement
Information Sciences
Volume 107, Issues 1-4, June 1998, Pages 15-36
 
Font Size: Decrease Font Size  Increase Font Size
 Abstract - selected
Purchase PDF (1007 K)

  E-mail Article   
  Add to my Quick Links   
Bookmark and share in 2collab (opens in new window)
Request permission to reuse this article
  Cited By in Scopus (0)
 
 
 
Related Articles in ScienceDirect
View More Related Articles
 
View Record in Scopus
 
doi:10.1016/S0020-0255(97)10040-8    How to Cite or Link Using DOI (Opens New Window)
Copyright © 1998 Published by Elsevier Science Inc.

An operational semantic approach to continuation style interpreter of logic programs

Timothy K. ShihE-mail The Corresponding Author, *

Department of Computer Science and Information Engineering, Tamkang University, Tamsui, Taipei Hsien, Taiwan 251, ROC

Received 1 October 1996; 
revised 24 June 1997; 
accepted 1 August 1997. ;
Available online 10 September 1998.

Purchase the full-text article



References and further reading may be available for this article. To view references and further reading you must purchase this article.

Abstract

A continuation represents the dynamic effect of the remainder of a program. We present a mechanism to save a Prolog program continuation as a label and the continuation can be invoked at a later point. The Vienna Definition Method (VDM) is used as the underlying mechanism to construct the operational semantics of Prolog language with labels. Besides the database predicates and the I/O predicates, our semantic also deals with continuation predicates which allow labels to be created and jumps to be made in the users program. Since most of the Prolog programs can be run as interactive processes, we also consider the user's input as it changes the variable binding. Based on the semantic functions, a metalevel interpreter is constructed showing the result of our work.

Author Keywords: Logic programming; VDM; Prolog; Continuations

Article Outline

• References

 
Home
Browse
My Settings
Alerts
Help
Elsevier.com (Opens new window)
About ScienceDirect  |  Contact Us  |  Information for Advertisers  |  Terms & Conditions  |  Privacy Policy
Copyright © 2008 Elsevier B.V. All rights reserved. ScienceDirect® is a registered trademark of Elsevier B.V.