On 22 March 2012 16:30, David Herman <[email protected]> wrote: > On Mar 22, 2012, at 4:46 AM, Andreas Rossberg wrote: > > Nice! One question: is there a reason why you not just define > > > > Program ::= ModuleBody > > > > ? > > No exports from a Program. >
Except that the syntax currently includes that. ;-) I assumed this is because you want to parse an external module as a program. Btw, another question that has bugged me lately: with "1JS", what happens when I do a sloppy-mode direct eval on a program string containing a module declaration? In global scope? In local scope? /Andreas
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

