New syntax for string mixins

Jacob Carlborg doob at me.com
Tue Dec 14 09:53:18 PST 2010


On 2010-12-14 11:03, Vladimir Panteleev wrote:
> On Tue, 14 Dec 2010 09:30:46 +0200, Graham St Jack
> <Graham.StJack at internode.on.net> wrote:
>
>> There is of course the worry that it could get so easy that everyone
>> starts doing it, and we have (relatively) impenetrable code everywhere
>> instead of just deep in the bowels of framework libraries.
>
> TBH, I'm more excited by AST macros which I understood are planned for
> D3, as mentioned here:
> http://s3.amazonaws.com/dconf2007/WalterAndrei.pdf
> They seem to promise the power of mixins, but without the mess.

I would like to have AST macros too but I was think my suggestion was 
perhaps easier to implement, just some syntactic sugar.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list