What Makes A Programming Language Good

Jesse Phillips jessekphillips+D at gmail.com
Wed Jan 19 16:03:32 PST 2011


Mafi Wrote:

> Am 19.01.2011 21:22, schrieb Andrej Mitrovic:
> > Meh.
> >
> > Just give us File access in CTFE and we'll be done talking about build
> > tools. Just run DMD on the thing and the app automagically tracks and
> > downloads all of its dependencies.
> >
> > Im kidding. But file access in CTFE would be so damn cool. :)
> What about the alternative import
>   import("file.ext") //compile time string of the contents of file.ext
> You can do for example:
>   mixin(import("special.d")); //c-style import/include

Then you have to add -J command line switches for the location of the importable files.


More information about the Digitalmars-d mailing list