DMD as a library package can now run through all semantic phases

Seb seb at wilzba.ch
Tue Jan 30 16:43:16 UTC 2018


On Tuesday, 30 January 2018 at 15:56:12 UTC, H. S. Teoh wrote:
> On Tue, Jan 30, 2018 at 04:31:43AM +0000, rikki cattermole via 
> Digitalmars-d wrote: [...]
>> D isn't a scripting language, it is native. It will always 
>> matter what OS/platform you are compiling to.
>
> One could always hook the front end to a codegen that emits 
> bytecode instead of native assembly.  Who knows, perhaps 
> there's already an LLVM codegen that does this, so all you have 
> to do is to specify the right arch to ldc.

BTW

-enable-dynamic-compile was part of LDC 1.7

https://forum.dlang.org/post/zwksmprgfnyukgsamfql@forum.dlang.org

(It's more suitable for JIT optimization though.)


More information about the Digitalmars-d mailing list