Which patches/mods exists for current versions of the DMD parser?

via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 8 06:33:09 PDT 2014


On Monday, 8 September 2014 at 09:40:29 UTC, ketmar via 
Digitalmars-d wrote:
> On Mon, 08 Sep 2014 08:51:09 +0000
> via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
>
>> in :  #arr;
>> out:  arr.length //or perhaps something more generic?
> why not '$arr'? '$' is already established for 'length'.

Primarily because '$x' is usually used for variables in other 
languages and I am already familiar with '#' for length (e.g. 
perl), but it would be easy to change. Though I expect to add 
'arr[#-1]' as an option.



More information about the Digitalmars-d mailing list