Download PDF

Workshop on Constraint Handling Rules, Date: 2005/10/05 - 2005/10/05, Location: Sitges, Spain

Publication date: 2005-09-01
Pages: 47 - 62
Publisher: Deptartment of Computer Science, K.U.Leuven

Proceedings of the 2nd Workshop on Constraint Handling Rules

Author:

Van Weert, Peter
Schrijvers, Tom ; Demoen, Bart ; Schrijvers, Tom ; Frühwirth, Thom

Keywords:

Java, Constraint Handling Rules, CHR, JCHR

Abstract:

A new integration of Constraint Handling Rules (CHR) and Java is presented: the K.U.Leuven JCHR system. It was designed with three aims in mind: user-friendliness, exibility and efficiency. User-friendliness is achieved by providing a high-level syntax that feels familiar to both Java programmers and users of other CHR embeddings, and by full compliance to the refined operational semantics. Flexibility is the result of a well thought-out design, allowing e.g. an easy integration of built-in constraint solvers and variable types. Efficiency is achieved through an optimized compilation to Java and the use of a very efficient constraint store. The design of the K.U.Leuven JCHR system is presented, its implementation discussed and its performance is compared with other CHR systems embedded in Java and Prolog.