On Tue, 8 Oct 2002, Larry Wall wrote:
: : perl6 operator precedence
: :
: : left terms and list operators (leftward) [] {} () quotes
: : left . and unary .
:
: Unary . can't be left associative. Perhaps unary . is nonassoc like ++.
Actually, unary . has to be tighter than the binary one, or
.foo.bar
fires in the wrong order. If we make unary . like ++, then we'd have to move
binary . down below that for it to work. But maybe unary dot has to parse
exactly like binary dot with a missing left argument. In which case your
original analysis is closer to right.
It's a bit mind-blowing to think about doing that to the other unaries as well.
Larry