English

Tabling as a Library with Delimited Control

Programming Languages 2020-02-19 v1

Abstract

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.

Keywords

Cite

@article{arxiv.1507.08087,
  title  = {Tabling as a Library with Delimited Control},
  author = {Benoit Desouter and Tom Schrijvers and Marko van Dooren},
  journal= {arXiv preprint arXiv:1507.08087},
  year   = {2020}
}

Comments

15 pages. To appear in Theory and Practice of Logic Programming (TPLP), Proceedings of ICLP 2015

R2 v1 2026-06-22T10:21:25.282Z