-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropping attributed variables, consideration #3
Comments
Native freeze/2, dif/2, when/2 sounds cool. Tau Prolog doesn't support them at all, which is one of the big motivations to work on the WASM stuff for Trealla. After working with Tau a lot, I've been longing to use dif/2 :) |
Dropping atvs means probably that there will never be a |
Yes you're right. I was talking out of my hat.
…On Wed, 10 Aug 2022, 23:23 UWN, ***@***.***> wrote:
Dropping atvs means probably that there will never be a clpz nor clpq.
Also, as a general remark on "native" built-in implementations, this has in
my view often contributed to more instability than in other
implementations. Finding an optimal tiny kernel to start with is certainly
not obvious. My armchair advice...
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNKSERUVUP4QZLYKIZGS3DVYOUNVANCNFSM56CSOY3Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Writing Attributed variables, in addition to enabling the implementation of constraint solvers, also provide O(1) destructive access to terms, and that can be useful to implement graph-based algorithms efficiently. Personally, I recommend to implement an (ideally: SICStus-compatible) interface for attributed variables as early as possible in a Prolog system, so that its implementation is taken into account at all stages during development. Doing this later may lead to unanticipated complications. Once the interface is available, more and more components ( I say "ideally" SICStus-compatible because SICStus provides correct implementations of |
I am considering dropping support for attributed variables, such as they are, in Trealla. Trealla used to do freeze/2 natively and could do so again. Ditto eventually for dif/2 & when/2. Maybe revisit it later.
The text was updated successfully, but these errors were encountered: