Scripting again.

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Dec 9 15:00:01 PST 2010


On 12/9/10 12:25 PM, Simen kjaeraas wrote:
> so <so at so.do> wrote:
>
>> Hello!
>>
>> In D, it is much harder to say something is impossible to implement
>> comparing to other languages.
>> If you are coming from C/C++ land, you should know that if you want to
>> script your program,
>> you are going to fall back to another language, possibly a "scripting"
>> language.
>> But why? why should i fall back to a dummy language for this? Tons of
>> workarounds to export stuff, it is just a mess!
>> It doesn't matter if we have tools like boost python bindings or PyD,
>> it is still ugly.
>>
>> All i can see right now is the lack of compile(file, module
>> dependencies, ...).
>> Is it just technical limitations or is this is another religious issue?
>
> Mostly, there is no D compiler written in D that can be included in the
> standard library.

A system() call should work as well. A larger problem is dynamically 
executing functions that have just been compiled.

Andrei



More information about the Digitalmars-d mailing list