On Sat, Nov 7, 2009 at 8:34 AM, Ash Berlin <ash...@firemirror.com> 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' + 'oo'

but we chose the simplest interpretation.

Essentially, we are making 'load' a special form.

> ... and 2) how can that be enforced?

The Caja system is a compiler. :)

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to