Fully dynamic d by opDotExp overloading
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Apr 18 14:49:07 PDT 2009
Yigal Chripun wrote:
> On 18/04/2009 21:16, Andrei Alexandrescu wrote:
>> bearophile wrote:
>>> Andrei Alexandrescu:
>>>> Yes. The amount of confusion in this thread is staggering.
>>>
>>> I think I have misunderstood about the whole thread then. If the
>>> string isn't determined at run time, then this thing isn't useful for
>>> my purposes, and it's not close to the object-C as I was talking
>>> about, and it's not similar to __getattr__ of Python, etc.
>>>
>>> Bye,
>>> bearophile
>>
>> In the syntax
>>
>> a.b
>>
>> how would either of a and b be identified at runtime? I mean, you write
>> the code somewhere and it gets compiled. It's not like you're reading
>> "a.b" from the console and then call some eval() function against them.
>>
>>
>> Andrei
>
> what prevents D from having an eval function?
Sure it is possible. It has zero relevance to the topic at hand.
Andrei
More information about the Digitalmars-d
mailing list