DIP 50 - AST macros

Jacob Carlborg doob at me.com
Thu Nov 14 23:38:14 PST 2013


On 2013-11-14 21:54, Walter Bright wrote:

> If it is powerful enough to do async/await but look like normal D
> syntax, then is going to suffer from these faults.

I don't think so. The idea is to have it look consistent within the 
language. Take a look at __traits. It looks just like a function call, 
but it's far from being a function call. Classes and structs look very 
similar, only the keyword is different, but they are very different.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list