last day (19 days later) » 

4:30 AM
Hi, I have an ecmascript question. I do not know how to ask him on the site. Therefore, I want to ask you personally.
The specification says: "In certain contexts, ObjectLiteral is used as a cover grammar for a more restricted secondary grammar. The CoverInitializedName production is necessary to fully cover these secondary grammars. "
I don't understand what "cover grammar" means.
Still, there is such a sentence: "This production exists so that ObjectLiteral can serve as a cover grammar for ObjectAssignmentPattern." Honestly, I do not understand its meaning. Could you explain it to me if you understand?
 
 
6 hours later…
10:33 AM
do discuss this a bit
Basically it means they use the same rules (ObjectLiteral) for different things to allow for easier parsing which only afterwards decides on the meaning. This leads to a few productions being allowed by the grammar, and the afterhand being disallowed by static semantic rules depending on the context.
At least that's as far as i understand it, I guess for details you will have to ask at esdicuss.
 

  last day (19 days later) »