On Thursday, 23 October 2014 at 11:45:46 UTC, Kagamin wrote:
On Wednesday, 22 October 2014 at 08:44:44 UTC, Ola Fosheim
Grøstad wrote:
On the other hand, C macros can be expanded and then you do
source-to-source translation. With D mixins you might have to
evaluate CTFE first? That's a source-to-source killer.
If it's fairly complex, like turing-complete, do you think, it
will be easier than CTFE?
What do you mean by turing-complete in this context?
Both the C preprocessor and D have to terminate in order to
produce output… And I see no point in translating programs that
cannot be compiled?