Hostname: page-component-6898cfcb55-w5hgh Total loading time: 0 Render date: 2026-11-11T07:23:50.714Z Has data issue: false hasContentIssue false

Tabling as a library with delimited control

Published online by Cambridge University Press:  03 September 2015

BENOIT DESOUTER
Affiliation:
Ghent University, Belgium (e-mail: benoit.desouter@ugent.be, marko.vandooren@ugent.be)
MARKO VAN DOOREN
Affiliation:
Ghent University, Belgium (e-mail: benoit.desouter@ugent.be, marko.vandooren@ugent.be)
TOM SCHRIJVERS
Affiliation:
KU Leuven, Belgium (e-mail: tom.schrijvers@cs.kuleuven.be)
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.

Tabling is probably the most widely studied extension of Prolog. But despite its importance and practicality, tabling is not implemented by most Prolog systems. Existing approaches require substantial changes to the Prolog engine, which is an investment out of reach of most systems. To enable more widespread adoption, we present a new implementation of tabling in under 600 lines of Prolog code. Our lightweight approach relies on delimited control and provides reasonable performance.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2015 
Supplementary material: PDF

Desouter supplementary material

Online Appendix

Download Desouter supplementary material(PDF)
PDF 148.7 KB