Hi,

On Wed 12 Jun 2013 23:01, Bruno Jouhier <[email protected]> writes:

> Is the spec still in the work of is it frozen? If things are not
> completely frozen, here are the two things that I would complain about:

It's still liquid but getting slushier :)  But anyway, there will be
ES7, and proposals that are more solid will get implemented earlier.

> * lack of API to get a stack frame info (topic of this post).

As I mentioned, to me this sounds like it would be an interesting
addition to the Reflect module: a facility to get information about
where a suspended generator object would resume.  If you are interested
in this, send a message to es-discuss.

> * weird precedence of yield operator. I would have expected it to have
> the same precedence as other unary ops but it has much lower precedence.
> So you cannot just write yield a + yield b, you have to write it as
> (yield a) + (yield b). Feels more like LISP than JS.

This isn't going to change, I don't think; otherwise "yield a + b" would
just yield a.

> Otherwise I really liked the introduction of the done/value object. It
> is much cleaner than the StopIteration from previous specs.

Glad you like it :)

Cheers,

Andy

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to