Return to CLIP Main Page
Next: Constraint Logic Programming: Procedures
Up: Document: europar97_sl
Previous: Introduction / Motivation
- Basic statements are constraints.
\
- Constraints relate (logical) variables.
\
- Such variables range over a domain (we assume floats, for now).
- Variables can be free, partially constrained, or
ground (definite values).
- If Y and Z have definite values
(e.g., Y=3, Z=2) then operational semantics of
is simply addition and X=5
(and can be compiled as such, if compiler can derive this info).
- If Y and Z free, then X=Y+Z
stored (in some normalized form) and resolved later.
- E.g., executing the sequence:

stores in memory (heap):
Y=2
X=2+T1
Z=T1
<herme at fi.upm.es>-<webmaster@clip.dia.fi.upm.es> Last updated on Wed Dec 3 16:57:50 MET 1997