Is it possible to use DMD as a library to compile strings at runtime?

Saurabh Das saurabh.das at gmail.com
Fri Jan 31 11:19:37 UTC 2020


I see that DUB has DMD as a library package, but I was not able 
to understand how to use it.

Is it possible to use DMD as a library within a D program to 
compile a string to machine code and run the compiled code at 
runtime?

Thanks,
Saurabh



More information about the Digitalmars-d-learn mailing list