digitalmars.D - Real Time Reflection using __traits
- Daniel Ribeiro Maciel (9/9) Apr 10 2010 Heya ppl!
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
Apr 10 2010