Add CTFE execute function

Tobias Pankrath tobias at pankrath.net
Tue May 29 10:47:53 PDT 2012


On Tuesday, 29 May 2012 at 16:32:17 UTC, Gor Gyolchanyan wrote:
> On Tue, May 29, 2012 at 4:02 PM, Tobias Pankrath 
> <tobias at pankrath.net>wrote:
>
>
>> Going this path means that you have to turn the compiler into 
>> a full build
>> system. That finds the right tools in the path, gives good 
>> error messages
>> if they are absent, that caches results etc.
>>
>>
> ... which is precisely what we need to reduce all problems 
> related to the
> build process to zero. This would solve a heap of problems.

If we do that, we should carefully design the system. If we 
introduce the possiblity to execute arbitrary commands at compile 
time, we've just introduced
the next generation preprocessor.


More information about the Digitalmars-d mailing list