Zcoin implementation bug enabled attacker to create 548, 000 Zcoins
Ola Fosheim Grøstad via Digitalmars-d
digitalmars-d at puremagic.com
Sat Mar 11 12:55:12 PST 2017
On Friday, 10 March 2017 at 22:41:43 UTC, H. S. Teoh wrote:
> The problem is that "<<" was designed to be a bit-shift
> operator, and as such it has a specific precedence level in the
> hierarchy of operators.
Fair point. IIRC Algol68 allowed custom precedence levels. Found
this:
http://www.kestrel.edu/home/people/meertens/publications/papers/Operator-Priority_Grammar_for_ALGOL_68+.pdf
At the other end of the spectrum Pony requires explicit parens
for operators outside the most familiar ones ("+", "-", "*"...).
More information about the Digitalmars-d
mailing list