Some bugs of Spec.

Eric Suen eric_suen_cn at yahoo.com.cn
Sun Aug 19 01:48:41 PDT 2007


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