You may be interested to look at F-Script (www.fscript.org), which is
fully integrated with the Objective-C run-time of Mac OS X. It's a
(open source) smalltalk like language with fantastic object query
capacities.

--Al