%0 Journal Article %T Tabling as a Library with Delimited Control %A Benoit Desouter %A Tom Schrijvers %A Marko van Dooren %J Computer Science %D 2015 %I arXiv %X 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. %U http://arxiv.org/abs/1507.08087v1