On Mar 20, 2007, at 5:46 PM, Ted Kaehler wrote: > An interesting exercise would be to write code to examine all > methods and see if they call any methods that are not defined > anywhere.
I thought this was an interesting way to delve into the Pepsi compiler internals, a bit, so I wrote it this evening. Here are the unimplemented selectors found in scanning all of the idc and st80 .st files: ==== unimplemented selector: resetToBeginning senders: OrderedCollection>>makeRoomAtLast OrderedCollection.st:139 unimplemented selector: isDictionary senders: Dictionary>>= Dictionary.st:220 unimplemented selector: errorDivisionByZero senders: SmallInteger>>/ SmallInteger.st:91 unimplemented selector: errorZeroDivide senders: SmallInteger>>quo: SmallInteger.st:152 Integer>>digitDiv:neg: LargeInteger.st:187 unimplemented selector: findKeyOrNil: senders: Object>>respondsTo: perform.st:42 unimplemented selector: anyBitOfMagnitudeFrom:to: senders: Integer>>bitShift: LargeInteger.st:362 unimplemented selector: _beTagType senders: imperative>>block Object.st:58 imperative>>block SmallInteger.st:25 unimplemented selector: rem: senders: Integer>>gcd: LargeInteger.st:484 unimplemented selector: _alloc: senders: Object>>_clone Object.st:60 Object>>_clone: Object.st:61 unimplemented selector: highBit senders: Integer>>gcd: LargeInteger.st:461 Integer>>gcd: LargeInteger.st:466 unimplemented selector: _beNilType senders: imperative>>block Object.st:57 unimplemented selector: familyHash senders: Collection>>hash Collection.st:47 Collection>>hash Collection.st:48 unimplemented selector: array senders: Dictionary>>rehash Dictionary.st:194 unimplemented selector: _vtable senders: Object>>_clone Object.st:60 Object>>_clone: Object.st:61 Object>>isKindOf: Object.st:329 Object>>isMemberOf: Object.st:330 Object>>respondsTo: perform.st:42 Collection>>hash Collection.st:47 Object>>family Object.st:326 ==== Some of these are actually implemented in libid (_vtable, _beNilType, _beTagType, _alloc, findKeyOrNil:). The rest are unimplemented, and probably need some cleaning up. -- Tim Olson _______________________________________________ fonc mailing list fonc@vpri.org http://vpri.org/mailman/listinfo/fonc