removal of cruft from D

Walter Bright newshound1 at digitalmars.com
Fri Nov 20 23:46:45 PST 2009


Yigal Chripun wrote:
> in the long term, I'd like to see a more general syntax that allows to 
> write numbers in any base.
> something like:
> [base]n[number] - e.g. 16nA0FF, 2n0101, 18nGH129, etc.
> also define syntax to write a list of digits:
> 1024n[1005, 452, 645, 16nFFF] // each digit can also be defined in 
> arbitrary base


Is there any language that does this?



More information about the Digitalmars-d mailing list