coroutine support
Charles Oliver Nutter
headius at headius.com
Fri Nov 13 10:05:26 PST 2009
On Fri, Nov 13, 2009 at 12:00 PM, Jim Baker <jbaker at zyasoft.com> wrote:
>> > Charles Oliver Nutter schrieb:
>> >> This is basically what all the bytecode-weaving coroutine/continuation
>> >> libraries do. Jython also does this for their
>> >> lambda/generator/coroutine stuff so they can jump in and out.
>
> Except for the lambda part, this is correct. (Our lambdas are very simple,
> they're just compiled to construct a function object wrapping that chunk of
> code.) Because yield is a keyword in Python, it's very easy to do too.
Thanks Jim...I can never keep the terms straight for Python :)
- Charlie
More information about the mlvm-dev
mailing list