libera/#clasp - IRC Chatlog
Search
12:05:19
yitzi
__repr__ is called by write-ugly (or something) as the fallback to print-object. So either you have a print-object specialization or a __repr__ ... or you get print unreadable.
12:06:33
drmeister
I removed the __repr__ function and I'm implementing a `fields` method that will generate and consume a vector of 16 numbers.
12:26:06
drmeister
Hmm, but it is bypassing the fields function I just added and using encode/decode
12:33:05
drmeister
It works fine now - I just don't understand the flow of control. It doesn't appear to invoke the fields function. I'm digging a bit deeper to remind myself how this all works when it's in C++.
12:40:41
drmeister
The General_O::encode invokes fields. Since I implemented OMatrix_O::encode it bypasses it.
12:56:14
drmeister
#i(GEOM:M4 (:M . #171DdfdxSe4huf0c$KRQI5Wr$So81M7eeoPmb$@@@@@@bFrRcXDjzxbLUEUVgOh0JXgSJ$PHucMBoI5c7@@@@@vgJSpi3j8dGE9nL$Z4@6pdGEUI$ncXCaFZ6HUV@@@lc0PcY@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ))
17:17:29
bike
there's an environment variable... but you should be able to see it in the running image by seeing if clasp-cleavir::*autocompilation-thread* is nil
17:19:40
bike
okay. so maybe the simple fun is getting swapped out for a compiled version, but bytecode_call is still happening for some reason.
20:40:35
bike
i tried running the static analyzer for the first time in a while and i'm getting something about an undeclared identifier gatherObjects in boehmGarbageCollection.cc
20:42:33
bike
https://github.com/clasp-developers/clasp/commit/3436af49ed5ebf38d6aea9ded276bb446ff16e8f this might be the problem... easy to fix, it's just in ROOM