DMD 1.005 release
Yauheni Akhotnikau
eao197 at intervale.ru
Wed Feb 7 04:05:09 PST 2007
On Wed, 07 Feb 2007 13:17:48 +0300, Kyle Furlong <kylefurlong at gmail.com>
wrote:
>> The template DActiveRecord must parse DSL string at compile time and
>> produce another string with Account class implementation in D. With all
>> necessary symantic analysis and constraints (for example, it is
>> impossible to use name of field in 'validate_presence_of' if it isn't
>> described as 'field').
>> Do you think this task can be done with D templates at complile time?
> Almost certainly.
:)
I know, but at which price? ;)
--
Regards,
Yauheni Akhotnikau
More information about the Digitalmars-d-announce
mailing list