Network


Latest external collaboration on country level. Dive into details by clicking on the dots.

Hotspot


Dive into the research topics where Peter Van Weert is active.

Publication


Featured researches published by Peter Van Weert.


Theory and Practice of Logic Programming | 2010

As time goes by: Constraint Handling Rules: A survey of CHR research from 1998 to 2007

Jon Sneyers; Peter Van Weert; Tom Schrijvers; Leslie De Koninck

Constraint Handling Rules (CHR) is a high-level programming language based on multiheaded multiset rewrite rules. Originally designed for writing user-defined constraint solvers, it is now recognized as an elegant general purpose language. Constraint Handling Rules related research has surged during the decade following the previous survey by Fruhwirth ( J. Logic Programming, Special Issue on Constraint Logic Programming , 1998, vol. 37, nos. 1–3, pp. 95–138). Covering more than 180 publications, this new survey provides an overview of recent results in a wide range of research areas, from semantics and analysis to systems, extensions, and applications.


international conference on coordination models and languages | 2008

Actors with multi-headed message receive patterns

Martin Sulzmann; Edmund S. L. Lam; Peter Van Weert

The actor model provides high-level concurrency abstractions to coordinate simultaneous computations by message passing. Languages implementing the actor model such as Erlang commonly only support single-headed pattern matching over received messages. We propose and design an extension of Erlang style actors with receive clauses containing multi-headed message patterns. Patterns may be non-linear and constrained by guards. We provide a number of examples to show the usefulness of the extension. We also explore the design space for multi-headed message matching semantics, for example first-match and rule priority-match semantics. The various semantics are inspired by the multi-set constraint matching semantics found in Constraint Handling Rules. This provides us with a formal model to study actors with multiheaded message receive patterns. The system can be implemented efficiently and we have built a prototype as a library-extension to Haskell.


Constraint Handling Rules | 2009

CHR for Imperative Host Languages

Peter Van Weert; Pieter Wuille; Tom Schrijvers; Bart Demoen

In this paper, we address the different conceptual and technical difficulties encountered when embedding CHR into an imperative host language. We argue that a tight, natural integration leads to a powerful programming language extension, intuitive to both CHR and imperative programmers. We show how to compile CHR to highly optimized imperative code. To this end, we first review the well-established CHR compilation scheme, and survey the large body of possible optimizations. We then show that this scheme, when used for compilation to imperative target languages, leads to stack overflows. We therefore introduce new optimizations that considerably improve the performance of recursive CHR programs. Rules written using tail calls are even guaranteed to run in constant space. We implemented systems for both Java and C, following the language design principles and compilation scheme presented in this paper, and show that our implementations outperform other state-of-the-art CHR compilers by several orders of magnitude.


logic-based program synthesis and transformation | 2008

Aggregates for CHR through Program Transformation

Peter Van Weert; Jon Sneyers; Bart Demoen

We propose an extension of Constraint Handling Rules (CHR) with aggregates such as sum , count , findall , and min . This new feature significantly improves the conciseness and expressiveness of the language. In this paper, we describe an implementation based on source-to-source transformations to CHR (extended with some low-level compiler directives). We allow user-defined aggregates and nested aggregate expressions over arbitrary guarded conjunctions of constraints. Both an on-demand and an incremental aggregate computation strategy are supported.


international conference on logic programming | 2007

Aggregates in constraint handling rules

Jon Sneyers; Peter Van Weert; Tom Schrijvers; Bart Demoen

Constraint Handling Rules (CHR) [2,3,4] is a general-purpose programming language based on committed-choice, multi-headed, guarded multiset rewrite rules. As the head of each CHR rule only considers a fixed number of constraints, any form of aggregation over unbounded parts of the constraint store necessarily requires explicit encoding, using auxiliary constraints and rules.


international conference on logic programming | 2008

Optimization of CHR Propagation Rules

Peter Van Weert

Constraint Handling Rules (CHR) is an elegant, high-level programming language based on multi-headed, forward chaining rules. To ensure CHR propagation rules are applied at most once with the same combination of constraints, CHR implementations maintain a so-called propagation history . The performance impact of this history can be significant. We introduce several optimizations that, for the majority of CHR rules, eliminate this overhead. We formally prove their correctness, and evaluate their implementation in two state-of-the-art CHR systems.


international conference on logic programming | 2007

Extension and implementation of CHR

Peter Van Weert

Constraint Handling Rules (CHR) [1,4] is a powerful, yet elegant committedchoice CLP language, consisting of multi-headed, guarded multiset rewrite rules. Originally designed for the implementation of constraint solvers, CHR has matured towards a general purpose language, used in a wide range of application domains, including natural language processing, multi-agent systems, and type system design. Several high-performance compilers for CHR exist.


Proceedings of the Third Workshop on Constraint Handling Rules | 2006

Extending CHR with negation as absence

Peter Van Weert; Jon Sneyers; Tom Schrijvers; Bart Demoen


Proceedings of the 2nd Workshop on Constraint Handling Rules | 2005

K.U.Leuven JCHR: a user-friendly, flexible and efficient CHR system for Java

Peter Van Weert; Tom Schrijvers; Bart Demoen


Proceedings of the Fourth Workshop on Constraint Handling Rules | 2007

Aggregates for Constraint Handling Rules

Jon Sneyers; Peter Van Weert; Tom Schrijvers

Collaboration


Dive into the Peter Van Weert's collaboration.

Top Co-Authors

Avatar

Jon Sneyers

Katholieke Universiteit Leuven

View shared research outputs
Top Co-Authors

Avatar

Tom Schrijvers

Katholieke Universiteit Leuven

View shared research outputs
Top Co-Authors

Avatar

Bart Demoen

Katholieke Universiteit Leuven

View shared research outputs
Top Co-Authors

Avatar

Leslie De Koninck

Katholieke Universiteit Leuven

View shared research outputs
Top Co-Authors

Avatar

Pieter Wuille

Katholieke Universiteit Leuven

View shared research outputs
Top Co-Authors

Avatar

Martin Sulzmann

IT University of Copenhagen

View shared research outputs
Top Co-Authors

Avatar

Edmund S. L. Lam

National University of Singapore

View shared research outputs
Researchain Logo
Decentralizing Knowledge