REWERSE-RP-2005-143

Emmanuel Coquery, François Fages:
A Type System for CHR.


Complete Text [
.pdf, 224KB]
In: Proceedings of Joint Annual Workshop of ERCIM/CoLogNet on Constraint Solving and Constraint Logic Programming 2005 (CSCLP 2005), Uppsala, Sweden (20th - 22nd June 2005), Organization: ERCIM Working Group on Constraints, 43-57, June 2005
© ERCIM

Abstract
We propose a generic type system for the Constraint Handling Rules (CHR), a rewriting rule language for implementing constraint solvers. CHR being a high-level extension of a host language, such as Prolog or Java, this type system is parameterized by the type system of the host language. We show the consistency of the type system for CHR w.r.t. its operational semantics. We also study the case when the host language is a constraint logic programming language, typed with the prescriptive type system we developed in previous work. In particular, we show the consistency of the resulting type system w.r.t. the extended execution model CLP+CHR. This system is implemented through an extension of our type checker TCLP for constraint logic languages. We report on experimental results about the type-checking of twelve CHR solvers and programs, including TCLP itself.

URL:
http://rewerse.net/publications/rewerse-publications.html#REWERSE-RP-2005-143

BibTeX:

@inproceedings{REWERSE-RP-2005-143,
	author = {Emmanuel Coquery and Fran\c{c}ois Fages},
	title = {A Type System for CHR},
	booktitle = {Proceedings of Joint Annual Workshop of ERCIM/CoLogNet on Constraint Solving and Constraint Logic Programming 2005, Uppsala, Sweden (20th--22nd June 2005)},
	year = {2005},
	organization = {ERCIM Working Group on Constraints},
	pages = {43--57},
	url = {http://rewerse.net/publications/rewerse-publications.html#REWERSE-RP-2005-143}
}