On 07/07/2013 02:27 PM, Peter Alexander wrote:
...We're almost there with CTFE, but CTFE can only run functions that could run at runtime. In a crazy world where types were first class objects, stuff like this would be feasible. Or perhaps we just need a compile-time metalanguage that allows things like this to be run with CTFE?
Almost there indeed. http://d.puremagic.com/issues/show_bug.cgi?id=9945