I think expressions like that should be in a $(D ) macro like this: `$(D max(a, min(b,c)))`