Reflection?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Oct 26 13:58:55 PDT 2010
On 10/26/10 10:29 CDT, Rory McGuire wrote:
> To get some basic runtime reflection one could use dmd's json dump.
>
> and then use import("filename.json") to get the json into the
> executable. Then make a class which makes it more usable as a
> reflection system.
>
> You can try it out by compiling this code twice, first time with a
> dummy jsontest.json.
That's a very interesting idea.
Andrei
More information about the Digitalmars-d
mailing list