Replies: 5 comments
-
|
I don't remember what this was about, and I can't figure it out. I'm going to close this issue. |
Beta Was this translation helpful? Give feedback.
-
|
This issue was prompted by the following exchange --
|
Beta Was this translation helpful? Give feedback.
-
|
Feel free to reopen this issue, but it would help if you could expain better what you think the problem is. |
Beta Was this translation helpful? Give feedback.
-
|
I'll leave it closed -- What I think we're seeing here (and I don't know how to fix it) is that code that is loaded after LLKEY derives something from an object initialized by LLKEY, but when LLKEY is reloaded it creates a new instance of that object, but the derived data isn't recreated -- so the later code is looking at LLKEY data that's now dead, while LLKEY happily updates the new instance which has nobody watching it. |
Beta Was this translation helpful? Give feedback.
-
|
If there's a particular problem with LLKEY I think we could probably take this on as an issue. As a more general consideration, there are problems with the late binding of LISP and the residential style, in general, being that you have to be careful mixing evaluating of expressions out of order when running compiled or reloading or ... Characterizing those situations and avoiding them is a longer discussion. Medley source files have more restrictions than Common Lisp does because you can't change the readtable or the package or the external format (encoding) ... that's something we could take on. I'll convert this issue to a discussion and open anotehr issue for LLKEY not being reloadable. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A problem with the ability to LOADFROM(LLKEY) or LOAD(LLKEY PROP) is a general problem, that the ability to develop code in Medley depends on some conditions that are not enforced and are sometimes violated, to the point where ordinary Interlisp operations willl fail.
The scope of these invariants are difficult to enumerate, but are due to dynamic run-time changes vs the lexical order of execcution.
(This is a little difficult to express... )
Originally posted by @nbriggs in #2021 (comment)
Beta Was this translation helpful? Give feedback.
All reactions