Re: Presentation on modules

2009-11-07 Thread ihab . awad
On Sat, Nov 7, 2009 at 11:10 AM, Brendan Eich wrote: > The alternative for Harmony is a syntactic special form, an import directive > for example, that can be analyzed when the program is parsed ... +1. In Caja, we were loath to introduce new syntax _per se_, and we are already compiling, so ours

Re: Presentation on modules

2009-11-07 Thread Brendan Eich
So (as was clarified at the meeting) the Caja work is quite informative, but we are not looking at any Harmony module system that requires ahead-of-time code analysis and transformation before code reaches the browser. The alternative for Harmony is a syntactic special form, an import dir

Re: Presentation on modules

2009-11-07 Thread ihab . awad
On Sat, Nov 7, 2009 at 8:34 AM, Ash Berlin wrote: > Slide 10 says "Sync, arg must be a string literal". 1) why a string > *literal*, ... It's the simplest form of statically determinable identifier. We could say, "arg must be an expression that statically evaluates to a string", like: 'f' + 'o

Re: Presentation on modules

2009-11-07 Thread Ash Berlin
On 7 Nov 2009, at 16:28, ihab.a...@gmail.com wrote: Hi folks, Here is a link to the presentation on modules I gave during the TC39 meeting in Santa Clara, CA yesterday. http://sites.google.com/site/ihabawad/Home/es5Modules-2009-11-06.pdf Cheers and regards, Ihab Slide 10 says "Sync

Presentation on modules

2009-11-07 Thread ihab . awad
Hi folks, Here is a link to the presentation on modules I gave during the TC39 meeting in Santa Clara, CA yesterday. http://sites.google.com/site/ihabawad/Home/es5Modules-2009-11-06.pdf Cheers and regards, Ihab -- Ihab A.B. Awad, Palo Alto, CA