dmd as a library for scripting/JIT?

Neia Neutuladh neia at ikeran.org
Fri Sep 14 16:54:59 UTC 2018


On Friday, 14 September 2018 at 16:02:36 UTC, dennis luehring 
wrote:
> i've got user defined flow charts in my C++ application that 
> calling C/C++ Code - could be possible to embedd dmd as a 
> library, generate D code out of my flow charts and execute the 
> "compiled" code directly without doing file io or dmd.exe runs 
> to create dlls that i hot reload?

You could potentially embed LDC and LLVM as a library to do that. 
I don't think it's set up to emit LLVM IR in-memory at the 
moment, though.


More information about the Digitalmars-d mailing list