On Compiling Linear Logic Programs with Comprehensions, Aggregates and Rule Priorities

PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, PADL 2015(2015)

引用 1|浏览0
暂无评分
摘要
Linear logic programs are challenging to implement efficiently because facts are asserted and retracted frequently. Implementation is made more difficult with the introduction of useful features such as rule priorities, which are used to specify the order of rule inference, and comprehensions or aggregates, which are mechanisms that make data iteration and gathering more intuitive. In this paper, we describe a compilation scheme for transforming linear logic programs enhanced with those features into efficient C++ code. Our experimental results show that compiled logic programs are less than one order of magnitude slower than hand-written C programs and much faster than interpreted languages such as Python.
更多
查看译文
关键词
Hash Table, Fact Expression, Rule Priority, Linear Logic, Abstract Syntax
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要