should we rename the Program grammar production?

David Herman dherman at mozilla.com
Wed Oct 10 23:14:48 PDT 2012


> One of the pieces of awkward ES specification terminology has been the use of the word "Program" as the name for a global top-level StatementList.  A ES "Program" is commonly only a single fragment of what most of us commonly think of as a program.

I agree.

> I proposed that we replace "Program" in this context with "Script".  This is much less confusing and matches the most common manifestation of an ES Program as an HTML script block.

I'd thought of the same thing at some point. +1 from me.

Dave



More information about the es-discuss mailing list