A Narcissus implementation of various object literal extensions

Rick Waldron waldron.rick at gmail.com
Mon Aug 15 11:58:23 PDT 2011


I've been playing with this:

https://github.com/zaach/reflect.js

which has a web interface to try out code examples here:

http://zaach.github.com/reflect.js/es-next/



Rick

On Mon, Aug 15, 2011 at 1:31 PM, Allen Wirfs-Brock <allen at wirfs-brock.com>wrote:

> In the fork of Narcissus at https://github.com/allenwb/narcissus I have
> implemented various ES.next proposals (and a couple not yet proposals) for
> enhanced object literal support.  the extensions include:
>
> * Concise Method Properties in Object Literals
> * Comma Optional After Method and Accessor Properties in Object Literals
> * The <| Operator
> *  Object Extension Literals using .{
> *  super References in Methods
> *  Computed Property Names in Object Literals Property Definitions
>
> (see
> https://github.com/allenwb/narcissus/blob/master/harmony-extensions.md for
> more details on the specific extensions)
>
> With these extensions I am able to "compile" the version of my Smalltalk
> Collection classes experiment that is at
> https://github.com/allenwb/ESnext-experiments/blob/master/exp1-nc-narcissus.js
>
>
> The best way to evaluate new language features is to actually use
> them. Please feel free to install this of Narcissus and try using the njs
> shell to write and run some code that uses these new features and then give
> us your feedback.
>
> Allen
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110815/450fb502/attachment.html>


More information about the es-discuss mailing list