I found the official docs for CHR sufficiently difficult to puzzle out for this poor non mathematician that I wrote a tutorial.
Did you know ... | Search Documentation: |
CHR: Constraint Handling Rules |
This chapter is written by Tom Schrijvers, K.U. Leuven, and adjustments by Jan Wielemaker.
The CHR system of SWI-Prolog is the K.U.Leuven CHR system. The runtime environment is written by Christian Holzbaur and Tom Schrijvers while the compiler is written by Tom Schrijvers. Both are integrated with SWI-Prolog and licensed under compatible conditions with permission from the authors.
The main reference for the K.U.Leuven CHR system is:
On the K.U.Leuven CHR website (http://dtai.cs.kuleuven.be/CHR/) you can find more related papers, references and example programs.
I found the official docs for CHR sufficiently difficult to puzzle out for this poor non mathematician that I wrote a tutorial.
I found this tutorial by Tom Schrijvers extremely clarifying on how in practice CHR rules work on conjuction with Prolog.
Schrijvers, Tom; Constraint Handling Rules, A Tutorial for (Prolog) Programmers Katholieke Universiteit Leuven, Belgium Tom.Schrijvers@cs.kuleuven.be ICLP 2008 – December 9-13, 2008 Read: 2021-09-05