> Since generators are shallow, it seems clear that there
> should be some local cps-style transform of generators into the
> remainder of the language. However, it would be a relief to know what
> that cps-style transform actually looks like, and what edge cases it
> has. Anyone care to post a proposal?

Can't be done without defining the entire language in CPS. Yes, it's 
shallow, but a captured activation can involve any arbitrary combination 
of expressions other than function call.

Dave
_______________________________________________
Es-discuss mailing list
Es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to