Re: Initialization and Finalization hooks

2006-08-03 Thread Leopold Toetsch
Am Dienstag, 1. August 2006 23:21 schrieb Kevin Tew: > Syntax: > > END '{' expr.. '}' > > Registers finalize routine. The block followed after |END| is evaluated > just before the interpreter termination. Unlike |BEGIN|, |END| blocks > shares their local variables, just like blocks. I've p

Initialization and Finalization hooks

2006-08-01 Thread Kevin Tew
I'm trying to implement ruby BEGIN and END blocks. I can generate the blocks just fine. I just need to generate pir so they get called at the right time. BEGIN{} and END {} semantic are described below. I think that these are general use cases that should be provided by parrot. Maybe the solu