Some bugs of Spec.

Jeff Dyer jodyer at adobe.com
Mon Aug 20 11:21:15 PDT 2007


Eric,

Good finds. I've posted an updated grammar, with some additional pending fixes, at the usual place.

As for an updated spec, one isn't yet available. But some good progress is currently being made on it. 

Thanks,
Jd

> -----Original Message-----
> From: es4-discuss-bounces at mozilla.org [mailto:es4-discuss-
> bounces at mozilla.org] On Behalf Of Eric Suen
> Sent: Sunday, August 19, 2007 1:49 AM
> To: es4-discuss at mozilla.org
> Subject: Some bugs of Spec.
> 
> Hi,
> 
> From: http://www.compilercompany.com/es4/grammar.pdf
> 
> Qualifier ::= *
>  | ReservedNamespace
>  | Identifier
> 
> Because in spec., the Identifier has no boldface, so it conflict on
> ['internal', 'public'...] between Identifier and ReservedNamespace
> 
> QualifiedNameIdentifier ::= *
>  | Identifier
>  | ReservedIdentifier
>  | String
>  | Number
>  | Brackets
>  | OverloadedOperator
> 
> String should be StringLiteral and Number should be NumberLiteral?
> 
> ForInExpressionList ::= ForExpression
>  | ForExpressionList ForExpression
> 
> There is no ForExpression and ForExpressionList, only ForInExpression
> and ForInExpressionList
> 
> NullableTypeExpression ::= 'undefined'
>  | TypeExpression
> 
> but TypeExpression -> TypeExpression -> PrimaryName -> PropertyName
>  -> NonAttributeQualifiedName -> SimpleQualifiedName -> Identifier
>  -> ContextuallyReservedIdentifier -> 'undefined'
> 
> ThisExpression ::= this
>  | this callee
>  | this generator
> 
> What is callee and generator? not found in ReservedIdentifier
> or ContextuallyReservedIdentifier
> 
> BTW: where can I find the more recent spec.
> 
> Eric
> --------------------------------------
> Spket IDE - Development Tool for RIA
> 
> http://www.spket.com
> 
> 
>       ___________________________________________________________
> ÑÅ»¢Ãâ·ÑÓÊÏ䣬ȫÇòµÚÒ»ÓÊÏäÆ·ÅÆ£¡
> http://mail.yahoo.com.cn/



More information about the Es4-discuss mailing list