Metraipolis › archive › dc_247333f96798
Constraint Handling Rules — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Constraint_Handling_Rules
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-06T00:10:23.802Z
- SHA-256 of the archived text
399c1775acd9ee04f9658c84e0ebc880f2bc70644bdbaa6611a699bb988a8fb6- Stable URL of this page
https://metraipolis.com/documento/dc_247333f96798
How to cite
Constraint Handling Rules — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Constraint_Handling_Rules (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_247333f96798 (Metraipolis archive dc_247333f96798, sha256 399c1775acd9ee04f9658c84e0ebc880f2bc70644bdbaa6611a699bb988a8fb6)
BibTeX
@misc{dc247333f96798,
title = {Constraint Handling Rules — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Constraint_Handling_Rules},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_247333f96798; sha256 399c1775acd9ee04f9658c84e0ebc880f2bc70644bdbaa6611a699bb988a8fb6},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Constraint_Handling_Rules. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Constraint Handling Rules (CHR) is a declarative, rule-based programming language, introduced in 1991 by Thom Frühwirth at the time with European Computer-Industry Research Centre (ECRC) in Munich, Germany. Originally intended for constraint programming, CHR finds applications in grammar induction, type systems, abductive reasoning, multi-agent systems, natural language processing, compilation, scheduling, spatial-temporal reasoning, testing, and verification. 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, according to its abstract semantics and deterministic (top-down rule application), according to its refined semantics. Although CHR is Turing complete, it is not commonly used as a programming language in its own right. Rather, it is used to extend a host language with constraints. Prolog is by far the most popular host language and CHR is included in several Prolog implementations, including SICStus and SWI-Prolog, although CHR implementations also exist for Haskell, Java, C, SQL, and JavaScript. In contrast to Prolog, CHR rules are multi-headed and are executed in a committed-choice manner using a forward chaining algorithm. Tema degli esploratori: agenti e intelligenza artificiale (deposito sistematico; ricerca «multi-agent system»). Fonte: Wikipedia in inglese, voce «Constraint Handling Rules» — https://en.wikipedia.org/wiki/Constraint_Handling_Rules Wikidata Q5164373: «linguaggio di programmazione» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q5164373 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Constraint_Handling_Rules?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1321959230, consultata il 2026-10-05T23:30:13.829Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 3225d012f3916b3fddfc799ab4d9947f0ccd382442ac202e989bd7adcb153e30