Re: [CVS ci] PackFile-12: run code in loaded sorcefile

2003-08-18 Thread Leopold Toetsch
Piers Cawley <[EMAIL PROTECTED]> wrote: >> >> C > Does this handle function serialization as well? Do you mean loading a source or PBC file and spit out bytecode per subroutine or for one specific subroutine? If so: No - not yet. The Eval PMC can return a whole packfile via get_string(). Eval.get

Re: [CVS ci] PackFile-12: run code in loaded sorcefile

2003-08-18 Thread Piers Cawley
Leopold Toetsch <[EMAIL PROTECTED]> writes: > With this patch, the major pieces are finished > ... > load_bytecode "temp.imc" > $P0 = global "_sub2" >.pcc_begin prototyped >.pcc_call $P0 > > does what it look's like: call the Sub "_sub2" in the loaded sorce file. > > C looks fo

[CVS ci] PackFile-12: run code in loaded sorcefile

2003-08-16 Thread Leopold Toetsch
With this patch, the major pieces are finished ... load_bytecode "temp.imc" $P0 = global "_sub2" .pcc_begin prototyped .pcc_call $P0 does what it look's like: call the Sub "_sub2" in the loaded sorce file. C looks for a registered compiler of type "FILE". This compiler then compiles