Constraint Handling Rules with Multiset Comprehension Patterns
Programming Languages
2014-06-10 v1
Abstract
CHR is a declarative, concurrent and committed choice rule-based constraint programming language. We extend CHR with multiset comprehension patterns, providing the programmer with the ability to write multiset rewriting rules that can match a variable number of constraints in the store. This enables writing more readable, concise and declarative code for algorithms that coordinate large amounts of data or require aggregate operations. We call this extension . We give a high-level abstract semantics of , followed by a lower-level operational semantics. We then show the soundness of this operational semantics with respect to the abstract semantics.
Cite
@article{arxiv.1406.2121,
title = {Constraint Handling Rules with Multiset Comprehension Patterns},
author = {Edmund S. L. Lam and Iliano Cervesato},
journal= {arXiv preprint arXiv:1406.2121},
year = {2014}
}
Comments
Part of CHR 2014 proceedings (arXiv:1406.1510)