Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JavaScript 1.8 support in Rhino

32 views
Skip to first unread message

Hannes Wallnoefer

unread,
Sep 8, 2008, 7:31:40 AM9/8/08
to
I'd like to bring up the topic of JavaScript 1.8 support for Rhino.
The Rhino Whish List wiki page [1] does not even mention JS 1.8, but
it seems like a logical next step, especially since the plans for
EcmaScript 4 have come tumbling down lately. I also think that version
parity with Firefox 3 would benefit many projects using Rhino.

The JS 1.8 feature that is triggering my request is the object
destructuring shorthand (bug 404734) [2] which would come very handy
for import-property-x-from-module-y functionality in Helma NG. I've
started investigating on this and will try to get something working
soon. I can't promise anything as the Rhino parser is still pretty
unfamiliar to me.

So what do others think about JS 1.8 support in Rhino, and effort do
you think would be required? From the "what's new in js 1.8" page [3]
and the js 1.8 tracking bug [4] it doesn't look too overwhelming.

[1] http://developer.mozilla.org/en/Rhino_Wish_List
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=404734
[3] http://developer.mozilla.org/en/New_in_JavaScript_1.8
[4] https://bugzilla.mozilla.org/showdependencytree.cgi?id=380236&maxdepth=1&hide_resolved=0

Hannes

Norris Boyd

unread,
Sep 26, 2008, 3:32:05 PM9/26/08
to
> [4]https://bugzilla.mozilla.org/showdependencytree.cgi?id=380236&maxdept...
>
> Hannes

Yes, JS 1.8 would be nice to have, and like you say, doesn't seem like
too much work.

I'm working on landing Steve Yegge's changes to the parser for a
rational AST. This code makes major changes to the parser, so don't
spend too much time on parser changes beforehand.

Thanks,
Norris

Hannes Wallnoefer

unread,
Sep 26, 2008, 6:58:58 PM9/26/08
to

Kris Zyp

unread,
Oct 8, 2008, 9:17:36 AM10/8/08
to
0 new messages