• 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
Re: how to evaluate an NSString content as a real obj-c instruction/expression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to evaluate an NSString content as a real obj-c instruction/expression


  • Subject: Re: how to evaluate an NSString content as a real obj-c instruction/expression
  • From: Michael Bianco <email@hidden>
  • Date: Thu, 14 Jul 2005 08:05:29 -0400

Hmm, I'm no Obj-C expert but i doubt this is possible since obj-c is
converted at compile time to binary code. PHP, Javascript,
Actionscript, Perl, all have run time interpreters that how they are
able to have an eval function.

On 7/14/05, Sébastien Cotillard <email@hidden> wrote:
> hello, I'm try here after find too less answer other where.
>
> I'm finding for a native method which can evaluate an expression such obj-c expression or math expression stored in NSString and from a file (text, xml) and it execute the result.
>
> Or in another words, Obj-c can or not execute an "live text execution"
> with some data stored in a text or xml file without NStask, or external
> add-ons;
> an obj-c runtime's function like PHP "eval()"'s function.
>
>
>
> thanks.
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>


--
Michael Bianco
http://mabwebdesign.com/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: how to evaluate an NSString content as a real obj-c instruction/expression
      • From: SA Dev <email@hidden>
References: 
 >how to evaluate an NSString content as a real obj-c instruction/expression (From: Sébastien Cotillard <email@hidden>)

  • Prev by Date: how to evaluate an NSString content as a real obj-c instruction/expression
  • Next by Date: Re: Getting the download location selected by the user in Safari.
  • Previous by thread: how to evaluate an NSString content as a real obj-c instruction/expression
  • Next by thread: Re: how to evaluate an NSString content as a real obj-c instruction/expression
  • Index(es):
    • Date
    • Thread