D interpreter

Bruce Adams tortoise_74 at yeah.who.co.uk
Wed Oct 24 13:13:01 PDT 2007


Hi,
   Seeing the link:

http://www.d-programming-language.org/ 

posted in another thread reminded me that DMD sports a nifty D interpreter. Something I always wanted for C++ incidentally. With all the talk on virtual machines recently I was wondering how the D interpreter works. 

Does it compile and run?  or use the embedded interpreter used for compile time evaluation? are these one and the same?

What happens with imports? Are they interpreted or compiled on the fly or required to exist already?

I know I should really try the experiment and find some of this out for myself.

How hard would it be to duplicate this behaviour in the gdc front end?




More information about the Digitalmars-d mailing list