DIP78 - macros without syntax extensions

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Wed May 27 08:20:36 PDT 2015


On Wednesday, 27 May 2015 at 12:39:52 UTC, ixid wrote:
> On Wednesday, 27 May 2015 at 12:34:49 UTC, Daniel Kozák wrote:
>>
>> On Wed, 27 May 2015 12:07:09 +0000
>> Dennis Ritchie via Digitalmars-d <digitalmars-d at puremagic.com> 
>> wrote:
>>
>>> On Wednesday, 27 May 2015 at 11:53:00 UTC, Jacob Carlborg 
>>> wrote:
>>> > I have thought of that too. But I haven't been able to come 
>>> > up with a syntax that looks good and doesn't conflict with 
>>> > any existing syntax/symbol. The above syntax is already 
>>> > used for template instantiation.
>>> 
>>> What if use the symbol '#' ?
>>
>> Yep, I like this symbol for macro too.
>
> What's wrong with using the word macro? We don't want symbol 
> soup.

this, there's a reason people don't use lisp.


More information about the Digitalmars-d mailing list