DMD 1.014 release
Pragma
ericanderton at yahoo.removeme.com
Fri Apr 27 09:30:43 PDT 2007
BCS wrote:
> Pragma wrote:
>> Walter Bright wrote:
>>
>>> Sports associative array literals, and struct literals. This enables
>>> compile time function execution to work with symbol tables (AA's) and
>>> user defined types.
>>>
>>> http://www.digitalmars.com/d/changelog.html
>>>
>>> http://ftp.digitalmars.com/dmd.1.014.zip
>>
>>
>> Fantastic! Thanks Walter!
>>
>> ::places ear to ground::
>>
>> Yep. It's a stampede alright... code generators. Lots of 'em.
>>
>
> This is what I'm waiting for:
>
> #!/usr/bin/dmd -c -o- > your_code.o
>
> import comp.time.comp;
>
> pragma(msg, D2ELF!(import("your_code.d"));
Apart from sheer curiosity, or for bragging rights, why would you want to completely re-implement the compiler backend
as compile-time code?
--
- EricAnderton at yahoo
More information about the Digitalmars-d-announce
mailing list