Spawn proposal strawman
david-sarah at jacaranda.org
Sat May 9 16:07:58 PDT 2009
Mark S. Miller wrote:
> 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 &&.
I have no objection to that as long as the AST API and the ES6 grammar
are consistent with each other.
David-Sarah Hopwood ⚥
More information about the es-discuss