libera/#sicl - IRC Chatlog
Search
1:09:22
paulapatience
Bike: I'm going to move cleavir-environment's optimize-qualities.lisp into cleavir-compilation-policy's optimize.lisp, and also drop cleavir-compilation-policy's usage of environment in a commit (or two) before the port to Trucler (but after the rename of system to client).
1:59:30
Bike
i hadn't realized the trucler change would entail all this, but i guess it would need to get done sooner or later anyway
2:12:17
paulapatience
Yes the scope is larger than I anticipated, but I'm making progress, slowly but surely
9:21:46
paulapatience
What would the client equivalent of “jumping up to the next environment if it isn't global” be in cleavir-compilation-policy:policy-qualities's default method?
9:23:22
paulapatience
(I note there's a FIXME in the function, and also in Clasp's policy-qualities specialized on a null environment.)
9:56:36
paulapatience
Also, the actual default method (with environments, i.e., the current version) seems weird to me: If the environment is global, return *CLEAVIR-POLICY-QUALITIES*, otherwise call the function on the global environment, which will just return *CLEAVIR-POLICY-QUALITIES* anyway.
10:00:14
paulapatience
It looks like I can just return *CLEAVIR-POLICY-QUALITIES* from the default method. (This is my first time using method combinations, but I'm guessing that) When the function is specialized by a client, the default method should be called anyway at the end, since it's not specialized to anything.