I finally got a first look at the 'Virtual Values for Language Extension' paper referred to in the value proxies strawman [1],
and suddenly find value proxies more interesting.

Somehow the term proxy never suggested to me that this
would allow for user-defined infix operators - perhaps a wiki
page named 'infix operators', listing relevant pages (value
proxies, modulo operator, operators/generic functions, ..)
might help. Generally, finding relevant information on the wiki isn't straightforward for newcomers.

On to questions:

1. Are fundamental traps for binary operators in value proxies the only current candidate for user-defined infix operators?
   (currently, even this candidate isn't part of Harmony)

2. Do they make any provisions for specifying operator precedence/associativity?

It seems that the wiki page about value proxies is mostly
concerned with defining traps, less with other issues of use (such as parsing: operator precedence, associativity).

Claus

[1] http://wiki.ecmascript.org/doku.php?id=strawman:value_proxies

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to