Spawn proposal strawman
Mark S. Miller
erights at google.com
Sat May 9 14:59:38 PDT 2009
On Sat, May 9, 2009 at 2:32 PM, David-Sarah Hopwood
<david-sarah at jacaranda.org> wrote:
> [...] but the AST should preserve the associativity defined in the
> language spec.
But which language spec? Again, specs only traffic in observable
differences. Since ES5 does not define any std parse or AST API, there
is no observable difference in ES5 whether this is specified as
left-or-right associative. Assuming ES6 does define such APIs, the
difference becomes observable. I see no reason why ES6 could not
compatibly specify a right associative grammar for || and &&.
More information about the es-discuss