Compiler as dll

Sandeep Kakarlapudi sandeep.iitkgpspammenot at gmail.com
Wed Jan 28 05:47:12 PST 2009


Yigal Chripun Wrote:

> the compiler itself could (and should) use it - currently there's a 
> built in interpreter for CTFE which is limited to a subset of D.
> 
> instead of implementing a limited interpreter in addition to the 
> compiler, the compiler libs can easily be utilized for a JIT compiler 
> which will compile CTFE and run them during compilation using the same 
> code that is used to compile regular code.

I had the exact same thoughts a couple of days ago - but I remembered that floating point code *might* cause problems either because of precision modes or cross compiling. However going in this direction seems to open up more possibilities. 



More information about the Digitalmars-d mailing list