block lambda revival

Jon Zeppieri zeppieri at gmail.com
Tue May 24 00:18:18 PDT 2011


On Fri, May 20, 2011 at 8:54 PM, Brendan Eich <brendan at mozilla.com> wrote:
> As promised/threatened: http://wiki.ecmascript.org/doku.php?id=strawman:block_lambda_revival
>

Sorry to take a step back here. After reading Waldemar's comments, I
took a closer look at the formal grammar, and I'm puzzled by the
production rule you've added to CallExpression:

   CallExpression [no LineTerminator here] BlockArguments

Should that be:

   MemberExpression [no LineTerminator here] BlockArguments

instead? This may just be the sleepiness talking, but it looks like a
CallExpression always starts with

   MemberExpression Arguments

which would require a parenthesized argument list.

-Jon


More information about the es-discuss mailing list