Real Time Reflection using __traits

Daniel Ribeiro Maciel danielmaciel at gmail.com
Sat Apr 10 14:28:57 PDT 2010


Heya ppl!

I've written a simple Compile Time (syntatic sugar mostly) and Run Time reflection library for methods only. It uses __traits and other phobos libraries.

It's not complete yet. I could not deal with certain issues in Run Time, such as ref/out function arguments, variadic function arguments. But it's mostly done.

The problems are commented in the code.

Naming conventions are bad and it is not properly modularized yet.

Any feedback would be greatly appreciated. I offer cooperation if you guys want to make a real time reflection library on phobos, or if anyone wants to make a more complete library, better structured library.

In the meantime, I'll keep working on this.

Best regards,
Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: reflect.zip
Type: application/x-zip-compressed
Size: 3553 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20100410/83669f0e/attachment.bin>


More information about the Digitalmars-d mailing list