May-10 ES4 Grammar update

2008-05-10 Thread Jeff Dyer
I've posted an updated ES4 grammar in the usual place: http://wiki.ecmascript.org/doku.php?id=proposals:normative_grammar Comments welcomed. Jd ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss

ES4 grammar update

2008-04-18 Thread Jeff Dyer
http://wiki.ecmascript.org/doku.php?id=proposals:normative_grammar I've updated this grammar to address comments I received on the 03-Apr-2008 revision. As always see the Revision History to see what has changed. Jd ___ Es4-discuss mailing list

Re: ES4 grammar update

2008-04-18 Thread Jeff Dyer
On 4/18/08 8:06 AM, Jeff Dyer wrote: http://wiki.ecmascript.org/doku.php?id=proposals:normative_grammar I've updated this grammar to address comments I received on the 03-Apr-2008 revision. As always see the Revision History to see what has changed. Another quick update posted:

RE: grammar update

2008-04-02 Thread Lars Hansen
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Orendorff Sent: 2. april 2008 13:46 To: Jeff Dyer Cc: es4-discuss Subject: Re: grammar update On Sun, Mar 30, 2008 at 7:29 PM, Jeff Dyer [EMAIL PROTECTED] wrote: I've updated the ES4 grammar files linked from http

Re: grammar update

2008-04-02 Thread Brendan Eich
On Apr 2, 2008, at 1:03 PM, Lars Hansen wrote: Looks like those restrictions (condition only at the end, only 'for', 'for each', and 'if' clauses) originate in Brendan's original (too-sketchy) proposal, see the Comprehensions section of this page: http://wiki.ecmascript.org/doku.php?

RE: grammar update

2008-04-02 Thread Lars Hansen
-Original Message- From: Brendan Eich [mailto:[EMAIL PROTECTED] Sent: 2. april 2008 17:15 To: Lars Hansen Cc: Jason Orendorff; Jeff Dyer; es4-discuss Subject: Re: grammar update On Apr 2, 2008, at 1:03 PM, Lars Hansen wrote: Looks like those restrictions (condition only

Re: grammar update

2008-04-02 Thread Brendan Eich
On Apr 2, 2008, at 6:01 PM, Lars Hansen wrote: This is all thin syntactic sugar, so I don't agree it rocks the boat too much to follow the full prototype in Python. I'll update the proposal, since it claims to follow the PEP, but fails since the PEP cites the RM. The PEP is scarcely

Re: grammar update

2008-04-01 Thread Eric Suen
To: [EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 7:35 PM Subject: Re: grammar update Page 11 FunctionDeclaration ::= function FunctionName FunctionSignature should be FunctionDeclarationW ::= function FunctionName FunctionSignature SemicolonW following statement: type function() like AAA

Re: grammar update

2008-04-01 Thread Jeff Dyer
:35 PM Subject: Re: grammar update Page 11 FunctionDeclaration ::= function FunctionName FunctionSignature should be FunctionDeclarationW ::= function FunctionName FunctionSignature SemicolonW following statement: type function() like AAA Should it be: RelationalExpression like

Re: grammar update

2008-03-31 Thread Eric Suen
Hi, Does the order of rules means different priority? otherwise why PropertyName is same as PrimaryName, and what is that number before each rule means? Regards Eric Suen ___ Es4-discuss mailing list Es4-discuss@mozilla.org

Re: grammar update

2008-03-31 Thread Jeff Dyer
On 3/31/08 10:33 AM, Lars Hansen wrote: I disagree that 'enum' should be reserved in ES4. E262-3 ch 16 is explicit in allowing syntactic extensions and it appears that Opera and Firefox do not reserve 'enum', suggesting that 'enum' is not in use on the public web. I don't remember why we

Re: grammar update

2008-03-31 Thread Brendan Eich
On Mar 31, 2008, at 1:24 PM, Jeff Dyer wrote: On 3/31/08 10:33 AM, Lars Hansen wrote: I disagree that 'enum' should be reserved in ES4. E262-3 ch 16 is explicit in allowing syntactic extensions and it appears that Opera and Firefox do not reserve 'enum', suggesting that 'enum' is not in

grammar update

2008-03-30 Thread Jeff Dyer
Hi, I've updated the ES4 grammar files linked from http://wiki.ecmascript.org/doku.php?id=proposals:normative_grammar This version is my best attempt to describe the syntax of the language that the ES4 working group is converging on. This convergence is reflected in the feature spreadsheet

RE: grammar update

2008-03-30 Thread Lars Hansen
Subject: grammar update Hi, I've updated the ES4 grammar files linked from http://wiki.ecmascript.org/doku.php?id=proposals:normative_grammar This version is my best attempt to describe the syntax of the language that the ES4 working group is converging on. This convergence

Re: grammar update

2008-03-30 Thread Jeff Dyer
. If 'has' is contextually reserved then so is 'invoke'. --lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Dyer Sent: 30. mars 2008 18:30 To: es4-discuss Subject: grammar update Hi, I've updated the ES4 grammar files linked from

Re: grammar update

2008-03-30 Thread Jon Zeppieri
On 3/30/08, Jeff Dyer [EMAIL PROTECTED] wrote: Hi, I've updated the ES4 grammar files linked from http://wiki.ecmascript.org/doku.php?id=proposals:normative_grammar Thanks, Jeff. - Allowing splat expressions in array literals is a nice addition, but restricting them to the end of element

Re: grammar update

2008-03-30 Thread Dave Herman
- Allowing splat expressions in array literals is a nice addition, but restricting them to the end of element lists seems unnecessary. Is the purpose uniformity between array literals and array patterns? Almost: uniformity between array literals and function calls. But another issue was