Composing recursive logic programs with clausal join (Q1109585)

From MaRDI portal
Revision as of 19:12, 18 June 2024 by ReferenceBot (talk | contribs) (‎Changed an Item)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
scientific article
Language Label Description Also known as
English
Composing recursive logic programs with clausal join
scientific article

    Statements

    Composing recursive logic programs with clausal join (English)
    0 references
    0 references
    1988
    0 references
    A family of methods for composing logic programs from simpler components is presented. Specifically, simple pairs of programs operating on lists, trees and other recursive structures are composed to generate a single program with composite functionality. The methods are based on clausal join, a specific sequence of unfold/fold transformations for deriving a new clause from a given pair of clauses and a joint specification. Procedural join composes a new procedure from two given procedures by applying clausal join to all pairs of their clauses. 1-1 join composes a new procedure from closely related procedures by applying causal join to corresponding pairs only. Meta join is a modification of 1-1 joint for composing meta-interpreters. The transformations are straightforward to implement in Prolog, as is demonstrated in the paper.
    0 references
    0 references
    program transformation
    0 references
    logic programming
    0 references
    program composition
    0 references
    specification
    0 references
    meta-programming
    0 references
    unfold/fold transformations
    0 references
    Prolog
    0 references
    0 references
    0 references