Modular At-Names

Axel Rauschmayer axel at rauschma.de
Fri Oct 12 09:23:31 PDT 2012


Given that you need to import symbols, I prefer explicit declarations (which will also be used for exporting).


On Oct 11, 2012, at 23:41 , Kevin Smith <khs4473 at gmail.com> wrote:

> Hi all,
> 
> ES6 is shaping up quite nicely.  The last big area which I feel is still quite foggy is syntactic support for symbolic property names, which Allen has addressed with his at-names proposal.  Perhaps syntax won't make it into ES6 regardless of the work we do, but I think the symbol "story" isn't finished until we've got something.
> 
> With that in mind, I've created a sketch of an alternative at-name syntax story.  I've tried to include enough detail to show that it might work, but not so much that I never finish the sketch : )
> 
> The basic idea is that modules implicitly define symbol namespaces.  Symbols can be imported from other modules, or from a "world" symbol map which contains interned symbols for the entire execution environment.
> 
> Read on: https://gist.github.com/3868131
> 
> The actual design sketch follows some initial examples.
> 
> Thanks!
> Kevin
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121012/35d510a3/attachment-0001.html>


More information about the es-discuss mailing list