another idea for compile time functions
Yauheni Akhotnikau
eao197 at intervale.ru
Fri Feb 9 00:11:58 PST 2007
>> But I think it is no need to iterpret 'pure D' code at compile time. If
>> compiler sees such mixin expression it can create temporary D program
>> which has content of the mixin expression and then execute it in
>> background with standard output redirection (with help of rdmd).
>
> I've said it before, this is useless. Metacode must have access to the
> program's symbols.
>
> Andrei
Can you provide some examples which show for what that is need? (May be I
miss something but I don't see more or less realistic examples yet).
--
Regards,
Yauheni Akhotnikau
More information about the Digitalmars-d
mailing list