Replies: 2 comments 3 replies
-
|
The CHR library distributed with SWI-Prolog requires CHR code to be in a Prolog module. There's no workaround available that would work with CHR code in a Logtalk object. The root issue is that this CHR implementation makes calls to the If your use of CHR is light, the Logtalk distribution includes (in the |
Beta Was this translation helpful? Give feedback.
-
|
from the examples toychr seems to supports the full CHR syntax ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any tutorials on integrating CHR with LogTalk ?
Questions like :
Can you have separate constraint stores i.e. one per object ? Or is it everything global ?
If scoped how do you access them ?
How do you use them ...etc.. f.e.
obj1::fun(abc) <=> obj2::funx(blah)
What language patterns/nomenclatures are good practice ? How'd encapsulation,inheritance work ?
prototypes ?
Swi-prolog here.
Beta Was this translation helpful? Give feedback.
All reactions