Time for std.reflection

Dmitry Olshansky dmitry.olsh at gmail.com
Sun Jul 22 23:41:31 PDT 2012


On 23-Jul-12 10:30, Philippe Sigaud wrote:
>
>> Well you're the resident crazy-stuff-during-compilation guy.
>
> Ah! I wish.
>
> I had this wonderful idea of having code be parsed at CT, semantically
> analyzed, transformed into some machine code at CT and... , oh wait.

I kind of did it...
regex pattern  ---parse---> bytecode ---generate D code---> profit.

BTW you can avoid machine code, just use D code as glorified backend :)
(and get optimizations for free, yay!)


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list