I need runtime reflection

JN 666total at wp.pl
Fri Sep 29 09:34:26 UTC 2017


On Wednesday, 27 September 2017 at 20:03:27 UTC, Gheorghe Gabriel 
wrote:
> Hi,
>
> I have a 3D scene editor.
> I need my scripts to be dynamically loaded in the scene.
> In c# or java I can use reflections to do that.
> How can I do that with D?
> I know that std.traits only works in compile time.
> Please, help me
>
> Gabriel

Your best bet is to either use a scripting language like Lua 
(Unity is written in C++ and uses C#), or compile your scripts to 
a dll and load them from there.


More information about the Digitalmars-d mailing list