Content deleted Content added
formatting reference |
Jerryobject (talk | contribs) Template:Infobox programming language, WP:REFerence WP:CITations: parameters: add, fill, updates, respaces, conform to master templates. WP:LINKs: add, fix-cut needless WP:PIPEs (WP:NOPIPEs). MOS:FIRSTABBReviation define before WP:ABBR in parentheses. Template:Official website add. |
||
Line 1:
{{Infobox programming language
|
| paradigms = [[Constraint logic programming|Constraint logic]], [[Declarative programming|declarative]]
| year = {{Start date and age|1991}}
| designer
| implementations =
| dialects
| influenced by
| influenced
|
| wikibooks
}}
'''Constraint Handling Rules''' ('''CHR''') is a [[declarative programming|declarative]], rule-based [[programming
A CHR program, sometimes called a ''constraint handler'', is a set of rules that maintain a ''constraint store'', a [[multi-set]] of logical formulas. Execution of rules may add or remove formulas from the store, thus changing the state of the program. The order in which rules "fire" on a given constraint store is [[non-deterministic programming|non-deterministic]],<ref name="timegoesby">{{Cite journal |
Although CHR is [[Turing complete]],<ref name="complexity">{{cite journal |first1=Jon |last1=Sneyers |first2=Tom |last2=Schrijvers |first3=Bart |last3=Demoen |title=The computational power and complexity of constraint handling rules |journal=ACM
==Language overview==
Line 95 ⟶ 96:
*[[Constraint logic programming]]
*[[Logic programming]]
*[[Production system (computer science)
*[[Business rules engine]]s
*[[Rewriting]]
Line 106 ⟶ 107:
==External links==
*
* [http://dtai.cs.kuleuven.be/CHR/biblio/ CHR Bibliography]
* [http://listserv.cc.kuleuven.ac.be/archives/chr.html The CHR mailing list]
* [http://dtai.cs.kuleuven.be/CHR/ The K.U.Leuven CHR System]
* [http://chr.informatik.uni-ulm.de/~webchr/ WebCHR
[[Category:Constraint logic programming]]
|