• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
This may be a bit of a twisted idea...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

This may be a bit of a twisted idea...


  • Subject: This may be a bit of a twisted idea...
  • From: "John C. Randolph" <email@hidden>
  • Date: Mon, 2 Jul 2001 00:54:12 -0700

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?

Comments?

-jcr

[Objc retain];


  • Follow-Ups:
    • Re: This may be a bit of a twisted idea...
      • From: Brian Hill <email@hidden>
    • Re: This may be a bit of a twisted idea...
      • From: Christopher Lloyd <email@hidden>
    • Re: This may be a bit of a twisted idea...
      • From: Rob Rix <email@hidden>
  • Prev by Date: Some in-depth Obj-C runtime questions.
  • Next by Date: Re: Shadowed Text
  • Previous by thread: Re: Some in-depth Obj-C runtime questions.
  • Next by thread: Re: This may be a bit of a twisted idea...
  • Index(es):
    • Date
    • Thread