Migrating dmd to D?

Daniel Murphy yebblies at nospamgmail.com
Mon Mar 4 07:42:31 PST 2013


"Iain Buclaw" <ibuclaw at ubuntu.com> wrote in message 
news:mailman.215.1362390328.14496.digitalmars-d at puremagic.com...
>
> All look fine except for dinteger_t, which should be -> long (it should
> always be the widest integer type supported by the host eg: longlong.
>
> Regards
> -- 
> Iain Buclaw
>
> *(p < e ? p++ : p) = (c & 0x0f) + '0';
>

I know, it's nasty, but dmd does this _everywhere_.  Expression::toInteger 
returns toInteger, then it is used to index arrays, set offsets, etc.

I'm now using a modified compiler that accepts all these conversions, 
doesn't error on variable shadowing, and lets you compare pointers with null 
without 'is'.

I've managed to processes, compile and link the frontend.  Next root, then 
glue. 




More information about the Digitalmars-d mailing list