Back to Search Start Over

Guard Reasoning in the Refined Operational Semantics of CHR.

Authors :
Sneyers, Jon
Schrijvers, Tom
Demoen, Bart
Source :
Constraint Handling Rules (9783540922421); 2008, p213-244, 32p
Publication Year :
2008

Abstract

Constraint Handling Rules (CHR) is a high-level programming language based on multi-headed guarded rules. The original high-level operational semantics of CHR is very nondeterministic. Recently, instantiations of the high-level operational semantics have been proposed and implemented, removing sources of nondeterminism and hence allowing better execution control. Rule guards may be redundant under a more instantiated semantics while being necessary in the general high-level semantics. Expert CHR programmers tend to remove such redundant guards. Although this tends to improve the performance, it also destroys the local logical reading of CHR rules: in order to understand the meaning of a rule, the entire program and the details of the instantiated operational semantics have to be taken into account. As a solution, we propose compiler optimizations that automatically detect and remove redundant guards. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISBNs :
9783540922421
Database :
Complementary Index
Journal :
Constraint Handling Rules (9783540922421)
Publication Type :
Book
Accession number :
76728486
Full Text :
https://doi.org/10.1007/978-3-540-92243-8_8