DStep - Bindings Generator 0.0.1

Walter Bright newshound2 at digitalmars.com
Sun Jul 8 01:35:04 PDT 2012


On 7/7/2012 7:59 PM, Andrei Alexandrescu wrote:
> On 7/7/12 5:20 PM, Walter Bright wrote:
>> In fact, we could make it a general facility, where if D sees:
>>
>> import "filename.ext";
>>
>> that it fork/exec's the program:
>>
>> ext_to_D filename.ext tmpfile.d
>>
>> and them imports tmpfile.d.
>
> (Aside) This has an obvious security risk.

Yup. It's similar to the import arbitrary file as string feature. We can leave 
it disabled unless -J is used.




More information about the Digitalmars-d-announce mailing list