Dealing with Explicit Exceptions in Prolog - Archive ouverte HAL Access content directly
Conference Papers Year :

Dealing with Explicit Exceptions in Prolog

(1, 2) , (1)
1
2

Abstract

Existing logic languages provide some simple " extra-logical " constructs for control manipulation , such as the cut of standard Prolog and the exception handling constructs of other versions of Prolog (e.g. SICStus Prolog). Aspects specifically concerning the flow of control in a language can be quite naturally modelled by means of the Denotational Semantics, and in particular the Denotational Semantics with Continuations. In this paper we define a De-notational Semantics with Continuations to model the flow of control of a small fragment of a logic language with an explicit exception handling mechanism. Finally we show how the cut operator can be simulated by an appropriate use of the characterized exception handling constructs.
Fichier principal
Vignette du fichier
1994-gulp-prode-94.pdf (225 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01157221 , version 1 (27-05-2015)

Identifiers

  • HAL Id : hal-01157221 , version 1

Cite

Luigi Liquori, Maria Luisa Sapino. Dealing with Explicit Exceptions in Prolog. 1994 Joint Conference on Declarative Programming, GULP-PRODE'94 Peniscola, Spain, September 19-22, 1994, Sep 1994, Peniscola, Spain. pp.296-308. ⟨hal-01157221⟩

Collections

INRIA INRIA2
142 View
96 Download

Share

Gmail Facebook Twitter LinkedIn More