Memoized Pull-Tabbing for Functional Logic Programming [article]

Michael Hanus, Finn Teegen
<span title="2020-08-27">2020</span> <i > arXiv </i> &nbsp; <span class="release-stage" >pre-print</span>
Pull-tabbing is an evaluation technique for functional logic programs which computes all non-deterministic results in a single graph structure. Pull-tab steps are local graph transformations to move non-deterministic choices towards the root of an expression. Pull-tabbing is independent of a search strategy so that different strategies (depth-first, breadth-first, parallel) can be used to extract the results of a computation. It has been used to compile functional logic languages into
more &raquo; ... or purely functional target languages. Pull-tab steps might duplicate choices in case of shared subexpressions. This could result in a dramatic increase of execution time compared to a backtracking implementation. In this paper we propose a refinement which avoids this efficiency problem while keeping all the good properties of pull-tabbing. We evaluate a first implementation of this improved technique in the Julia programming language.
<span class="external-identifiers"> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/2008.11999v1">arXiv:2008.11999v1</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/i7c6gnt22jblveiamsljjgkwwe">fatcat:i7c6gnt22jblveiamsljjgkwwe</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20200901011301/https://arxiv.org/pdf/2008.11999v1.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] </button> </a> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/2008.11999v1" title="arxiv.org access"> <button class="ui compact blue labeled icon button serp-button"> <i class="file alternate outline icon"></i> arxiv.org </button> </a>