Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-10T08:32:12.129Z Has data issue: false hasContentIssue false

The YAP Prolog system

Published online by Cambridge University Press:  18 October 2011

VÍTOR SANTOS COSTA
Affiliation:
DCC & CRACS INESC-Porto LA, Faculty of Sciences, University of Porto, R. do Campo Alegre 1021/1055, 4169-007 Porto, Portugal (e-mail: vsc@dcc.fc.up.pt, ricroc@dcc.fc.up.pt)
RICARDO ROCHA
Affiliation:
DCC & CRACS INESC-Porto LA, Faculty of Sciences, University of Porto, R. do Campo Alegre 1021/1055, 4169-007 Porto, Portugal (e-mail: vsc@dcc.fc.up.pt, ricroc@dcc.fc.up.pt)
LUÍS DAMAS
Affiliation:
LIACC, Faculty of Sciences, University of Porto, R. do Campo Alegre 1021/1055, 4169-007 Porto, Portugal (e-mail: luis@ncc.up.pt)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Yet Another Prolog (YAP) is a Prolog system originally developed in the mid-eighties and that has been under almost constant development since then. This paper presents the general structure and design of the YAP system, focusing on three important contributions to the Logic Programming community. First, it describes the main techniques used in YAP to achieve an efficient Prolog engine. Second, most Logic Programming systems have a rather limited indexing algorithm. YAP contributes to this area by providing a dynamic indexing mechanism, or just-in-time indexer. Third, a important contribution of the YAP system has been the integration of both or-parallelism and tabling in a single Logic Programming system.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2011