4 ms·
> How many other languages have a Turing complete sublanguage built into them just to handle templating? D does. It's just that nobody uses it for that, becaus
by WalterBright 7y ago
> How many other languages have a Turing complete sublanguage built into them just to handle templating?
D does. It's just that nobody uses it for that, because CTFE (Compile Time Function Execution) is so much better.
https://dlang.org/spec/function.html#interpretation https://dlang.org/spec/function.html#interpretation