tc39 / ecma262

Status, process, and documents for ECMA-262
https://tc39.es/ecma262/
Other
15.03k stars 1.28k forks source link

references missing from references list #929

Open michaelficarra opened 7 years ago

michaelficarra commented 7 years ago

Some static/runtime semantics functions have no references listed but are referenced elsewhere in the spec. An example is CatchClauseEvaluation. But most of the functions in 13.15 show 0 references.

Relatedly, the reference to the Catch production within CatchClauseEvaluation is not listed in the Catch references list. It appears Ctrl-F is still necessary to ensure you haven't missed any references.

bterlson commented 7 years ago

I could go through and add aoids to syntax-directed operations happen to have have a single specialization but I'd rather solve polymorphism more generally. See: bterlson/ecmarkup#116.

littledan commented 7 years ago

Tacking on an editorial suggestion: I think most these polymorphic internal algorithms would be easier to read if they were grouped together, more "pattern matching style" than the current "object oriented style". Leaving out Runtime Semantics: Evaluation and Static Semantics: Early Errors, and maybe a couple others, though. This would solve the tooling problem (if the aoids are also added).