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.


Reply via email to