Existential continuation (Q1115643)

From MaRDI portal
scientific article
Language Label Description Also known as
English
Existential continuation
scientific article

    Statements

    Existential continuation (English)
    0 references
    0 references
    0 references
    1989
    0 references
    This paper introduces a notion of existential continuation and provides a theoretical basis for continuation passing style (CPS) programming in logic programming. We present an algorithm, called CPS conversion, which converts a definite clause program into a CPS program, correspondingly to a predicate partition, an analogue of mode pattern specifying input and output for each predicate. Depending on the choice of a predicate partition, the resulting program can have various execution modes from bottom-up to top-down computations. We then give a proof, on the basis of a meaning preserving logic program transformation system, that the CPS conversion preserves the meaning of programs.
    0 references
    denotational semantics
    0 references
    functional programming
    0 references
    existential continuation
    0 references
    logic programming
    0 references
    predicate partition
    0 references
    program transformation
    0 references

    Identifiers

    0 references
    0 references
    0 references
    0 references
    0 references
    0 references