<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mw.hh.se/wg211/index.php?action=history&amp;feed=atom&amp;title=WG211%2FM22Erdweg</id>
	<title>WG211/M22Erdweg - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://mw.hh.se/wg211/index.php?action=history&amp;feed=atom&amp;title=WG211%2FM22Erdweg"/>
	<link rel="alternate" type="text/html" href="http://mw.hh.se/wg211/index.php?title=WG211/M22Erdweg&amp;action=history"/>
	<updated>2026-04-05T21:08:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://mw.hh.se/wg211/index.php?title=WG211/M22Erdweg&amp;diff=2502&amp;oldid=prev</id>
		<title>Jacques: Created page with &quot;Datalog is often used as a programming language nowadays, with complex programs consisting of numerous inter-dependent predicates. But Datalog lacks interactive debugging tech...&quot;</title>
		<link rel="alternate" type="text/html" href="http://mw.hh.se/wg211/index.php?title=WG211/M22Erdweg&amp;diff=2502&amp;oldid=prev"/>
		<updated>2023-04-27T19:27:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Datalog is often used as a programming language nowadays, with complex programs consisting of numerous inter-dependent predicates. But Datalog lacks interactive debugging tech...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Datalog is often used as a programming language nowadays, with complex programs consisting of numerous inter-dependent predicates. But Datalog lacks interactive debugging techniques that support the stepwise execution and inspection of the execution state. In this paper, we propose interactive debugging of Datalog programs following a top-down evaluation strategy called recursive query/subquery. While the recursive query/subquery approach is well-known in the literature, we are the first to provide a complete programming-language semantics based on it. Specifically, we develop the first small-step operational semantics for top-down Datalog, where subqueries occur as nested intermediate terms. The small-step semantics forms the basis of step-into interactions in the debugger. Moreover, we show how step-over interactions can be realized efficiently based on a hybrid Datalog semantics that adds a bottom-up database to our top-down operational semantics. We implemented a debugger for core Datalog following these semantics and explain how to adopt it for debugging the frontend languages of Souffle and IncA.&lt;br /&gt;
&lt;br /&gt;
[[File:DatalogDebugging.pdf]]&lt;/div&gt;</summary>
		<author><name>Jacques</name></author>
	</entry>
</feed>