KIT | KIT-Bibliothek | Impressum | Datenschutz

A Typed Multi-Level Datalog IR and its Compiler Framework

Klopp, David; Erdweg, Sebastian ORCID iD icon 1; Pacak, André
1 Institut für Programmstrukturen und Datenorganisation (IPD), Karlsruher Institut für Technologie (KIT)

Abstract (englisch):

The resurgence of Datalog in the last two decades has led to a multitude of new Datalog systems. These systems explore novel ideas for improving Datalog's programmability and performance, making important contributions to the field. Unfortunately, the individual systems progress at a much slower pace than the overall field, because improvements in one system are rarely ported to other systems. The reason for this rift is that each system provides its own Datalog dialect with specific notation, language features, and invariants, enabling specific optimization and execution strategies. This paper presents the first compiler framework for Datalog that can be used to support any Datalog frontend language and to target any Datalog backend. The centerpiece of our framework is a novel typed multi-level Datalog IR that supports IR extensions and guarantees executability. Existing Datalog systems can provide a compiler frontend that translates their Datalog dialect to the extended IR. The IR is then progressively lowered toward core Datalog, allowing optimizations at each level. At last, compiler backends can target different Datalog solvers. ... mehr


Verlagsausgabe §
DOI: 10.5445/IR/1000188610
Veröffentlicht am 17.12.2025
Originalveröffentlichung
DOI: 10.1145/3689767
Scopus
Zitationen: 2
Dimensions
Zitationen: 3
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Programmstrukturen und Datenorganisation (IPD)
Publikationstyp Zeitschriftenaufsatz
Publikationsdatum 08.10.2024
Sprache Englisch
Identifikator ISSN: 2475-1421
KITopen-ID: 1000188610
Erschienen in Proceedings of the ACM on programming languages
Verlag Association for Computing Machinery (ACM)
Band 8
Heft OOPSLA2
Seiten 1586-1614
Schlagwörter Datalog, type system, multi-level IR, compiler framework
Nachgewiesen in Scopus
Dimensions
OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page