Others:
Directive[t,w] ::= EmptyStatement
| Statement[w]
| AnnotatableDirective[t,w]
Statement[w] should be Statement[t, w]
ForInitialiser ::= $empty
| ListExpression[allowColon,noIn]
| VariableDefinition[noIn]
VariableDefinition[b,w] ::=
VariableDefinitionKind VariableBindingList[b] Semicolon[w]
Since VariableDefinition has Semicolon, I don't think it should
be used in ForInitialiser
CaseElements ::= ...
| CaseLabel CaseElementsPrefix Directive_abbrev
CaseElementsPrefix ::= ...
| CaseElementsPrefix Directive_full
Directive_abbrev should be Directive_local_abbrev and Directive_full
should be Directive_local_full?
AnnotatableDirective[global,w] ::= ...
| FunctionDefinition[global]
AnnotatableDirective[t,w] ::= ...
| FunctionDefinition[t]
FunctionDefinition[global] should be FunctionDefinition[global,w],
FunctionDefinition[t] should be FunctionDefinition[t, w]
Eric
On 8/22/07, Jeff Dyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Updated grammar posted at (new location):
>
> http://www.ecmascript.org/es4/spec/grammar.pdf
>
> Thanks again for the bug reports.
>
> Also, we have no plans to write an LR(1) grammar for ES4. I'm not even sure
> it is possible. Are you volunteering? :)
>
> Jd
>
>
>
>
>
> On 8/21/07 10:52 AM, Eric Suen wrote:
>
> > Some typo:
> >
> > TypeParametersList ::= Identifier
> > | Identifier , TypeParameterList
> >
> > TypeParametersList should be TypeParameterList
> >
> > BitwiseAndExpression[a,b] ::= EqualityExpression[a,b]
> > | BitwiseAndExpressionr[a,b] & EqualityExpression[a,b]
> >
> > BitwiseAndExpressionr should be BitwiseAndExpression
> >
> > InitaliserList ::= Initialiser
> > | InitialiserList ',' Initialiser
> >
> > InitaliserList should be InitialiserList
> >
> > Regards
> >
> > Eric
> >
> > ------------------------------------------------
> > Spket IDE - Development Tool for RIA.
> >
> > http://www.spket.com
> > _______________________________________________
> > Es4-discuss mailing list
> > [email protected]
> > https://mail.mozilla.org/listinfo/es4-discuss
>
>
--
------------------------------------------------
Spket IDE - Development Tool for RIA.
http://www.spket.com
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss