Changes between Version 1 and Version 2 of Creating Closures with NQP-rx

Show
Ignore:
Timestamp:
03/16/10 03:23:27 (5 years ago)
Author:
Austin_Hastings
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Creating Closures with NQP-rx

    v1 v2  
     1= Creating Closures with NQP-rx = 
     2 
    13The following code works as of Parrot 2.1 to create and store closures from NQP-rx. If you need this, please note that the `newclosure` op is necessary to clone the enclosed context. Also, you need to re-enter the containing lexical scope to reset the lex vars you want unshared. Otherwise, as shown (see `shared` vs. `not_shared`) they won't be shared. 
    24