should we rename the Program grammar production?

John J Barton johnjbarton at johnjbarton.com
Thu Oct 11 11:43:33 PDT 2012


On Thu, Oct 11, 2012 at 11:03 AM, Brendan Eich <brendan at mozilla.com> wrote:
> John J Barton wrote:
>>
>> That is not my understanding, but I don't think it matters: that is an
>> implementation specific notion without consequence. Whether the
>> compiler treats all of the top level statements of a<script>  tag
>> individually or separately cannot influence the result.
>
>
> No, this ignores function and var hoisting.

So that just means functions aren't the unit of compilation as
previously claimed right?

In any case, I only want to bolster Allen's suggestion to add a new
word for code fed to the compiler before execution.

jjb

>
> /be


More information about the es-discuss mailing list