Re: This may be a bit of a twisted idea...
Re: This may be a bit of a twisted idea...
- Subject: Re: This may be a bit of a twisted idea...
- From: Rob Rix <email@hidden>
- Date: Mon, 2 Jul 2001 13:09:48 -0400
So, I'm poking around in NSMethodSignature, NSInvocation, and other
arcane stuff in the Foundation kit and it occurs to me that interpreting
Obj-C method calls (a'la' Perl's "eval" operator) is quite feasible.
What I have in mind doesn't achieve the full power of the C language, but
if I were to take a page from SmallTalk and implement -ifTrue:, -ifFalse:
and loops that use NSEnumerators, then I've got Turing-complete
scripting in Obj-C, don't I?
Well, for those who don't know Perl, and really don't understand
Turing-complete scripting is (such as, for instance, me), what does any of
this mean?
What benefits do these things bring to the developer?
-- Rob
[email appendRandomWittySig];