freenode/#sicl - IRC Chatlog
Search
16:52:58
beach
Significant progress today. I am cleaning up the bootstrapping procedure to avoid "global overrides".
16:53:06
beach
When some code C is loaded into some environment E, then the function FUNCTION-CELL in E is called to request function cells to satisfy global function references in C. But sometimes during bootstrapping, E is not the right environment to find the function cell for some function. So I have a mechanism for overriding such requests.
16:53:13
beach
Requests can be overridden globally for all code loaded into the environment, or locally for loading a particular file. I have been abusing global overrides, so I am working on converting them to local ones as much as possible.
16:53:17
beach
In particular, I want MAKE-INSTANCE in environment E to call FIND-CLASS in environment E when given a symbol, and I want the correct class to be returned so that MAKE-INSTANCE will return an instance of the class with that name.
16:53:18
beach
I already cleaned up all the global overrides of MAKE-INSTANCE and tomorrow I will work on FIND-CLASS. As it turns out, by removing global overrides, I can often decrease the number of local ones, so the code is nicer overall.