Compiling D inside of a D program

Andrea Fontana nospam at example.com
Sat Dec 21 01:55:45 PST 2013


I still hope they make DMD available as shared/static library 
just like tinyc compiler!


On Saturday, 21 December 2013 at 08:55:04 UTC, Mineko wrote:
> This is a fairly basic question but I can't find any good 
> answers, so I'm asking..
>
> Anyways, I want to be able to invoke the D compiler, whichever 
> that might be from inside of a D program, so I can say, compile 
> a D script on-the-fly in some game, it's just an idea though.
>
> To be even more to the point, how can I invoke the D compiler 
> inside of a D program, also, do I need to bundle said D 
> compiler with my program or does D have some compilation 
> feature inside of an already compiled program (Which I doubt)?



More information about the Digitalmars-d-learn mailing list