What Makes A Programming Language Good

Mafi mafi at example.org
Wed Jan 19 13:49:08 PST 2011


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


More information about the Digitalmars-d mailing list