Download PDF

International ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming, Date: 2007/07/14 - 2007/07/16, Location: Wroclaw, Poland

Publication date: 2007-01-01
Pages: 25 - 36
ISBN: 1595937692, 9781595937698
Publisher: ACM Press

Proceedings of the 9th ACM SIGPLAN Conference on Principles and Practice of Declarative Programming

Author:

De Koninck, Leslie
Schrijvers, Tom ; Demoen, Bart ; Leuschel, Michael ; Podelski, Andreas

Abstract:

This paper introduces CHR-rp: Constraint Handling Rules with user-definable rule priorities. CHR-rp offers flexible execution control which is lacking in CHR. A formal operational semantics for the extended language is given and is shown to be an instance of the theoretical operational semantics of CHR. It is discussed how the CHR-rp semantics influences confluence results. A translation scheme for CHR-rp programs with static rule priorities into (regular) CHR is presented. The translation is proven correct and benchmark results are given. CHR-rp is related to priority systems in other constraint programming and rule based languages.